Added host key call back for ssh config (#2752)

This commit is contained in:
Vishal Nayak
2017-05-21 20:16:13 -04:00
committed by GitHub
parent d2aa8c1f12
commit 5d9277b2fb

View File

@@ -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) {