Skip to content

Commit

Permalink
Added host key call back for ssh config (#2752)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnayak authored May 22, 2017
1 parent d2aa8c1 commit 5d9277b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/logical/ssh/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func createSSHComm(logger log.Logger, username, ip string, port int, hostkey str
Auth: []ssh.AuthMethod{
ssh.PublicKeys(signer),
},
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
}

connfunc := func() (net.Conn, error) {
Expand Down

0 comments on commit 5d9277b

Please sign in to comment.