Skip to content
This repository has been archived by the owner. It is now read-only.

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 authored and Mislav Novakovic committed May 19, 2017
1 parent a00dfc1 commit b69a1a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netconf/transport_ssh.go
Original file line number Diff line number Diff line change
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 b69a1a5

Please sign in to comment.