Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh: must specify HostKeyCallback #35

Closed
hectorqin opened this issue May 5, 2017 · 3 comments
Closed

ssh: must specify HostKeyCallback #35

hectorqin opened this issue May 5, 2017 · 3 comments

Comments

@hectorqin
Copy link

I got this problem when i run this code on my macOS 10.12.3, but i have fixed it by editing the file of sshhelper.go

about line 214:

config := &ssh.ClientConfig{
	User: user,
	Auth: auths,
	HostKeyCallback: func(hostname string, remote net.Addr, key ssh.PublicKey) error {
            return nil
        },
}
@kron4eg
Copy link

kron4eg commented May 13, 2017

Yeah, this caused by recent changes in x/crypto/ssh. Getting the same.

@rotelok
Copy link

rotelok commented Jul 10, 2017

the fix works for me, was getting the exact same error

@mdevan
Copy link
Contributor

mdevan commented Jul 11, 2017

Fixed in c49441b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants