From 5d9277b2fb627750ed1cbbdb04a3e3485dbbc876 Mon Sep 17 00:00:00 2001 From: Vishal Nayak Date: Sun, 21 May 2017 20:16:13 -0400 Subject: [PATCH] Added host key call back for ssh config (#2752) --- builtin/logical/ssh/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/logical/ssh/util.go b/builtin/logical/ssh/util.go index c18ccaf9bec9..f94d70502c6a 100644 --- a/builtin/logical/ssh/util.go +++ b/builtin/logical/ssh/util.go @@ -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) {