Skip to content

Commit

Permalink
FIXED: 'must specify HostKeyCallback' described in golang/go#19767
Browse files Browse the repository at this point in the history
  • Loading branch information
buck6058 committed May 11, 2017
1 parent 795a52e commit 4186670
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netconf/transport_ssh.go
Expand Up @@ -160,6 +160,7 @@ func SSHConfigPassword(user string, pass string) *ssh.ClientConfig {
Auth: []ssh.AuthMethod{
ssh.Password(pass),
},
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
}
}

Expand Down

0 comments on commit 4186670

Please sign in to comment.