kic: fix known_hosts issue

pull/6810/head
Jose Donizetti 2020-02-26 18:27:24 -03:00
parent f77e942e59
commit a57a282027
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ func createSSHConn(name, sshPort, sshKey string, svc v1.Service) *sshConn {
// extract sshArgs // extract sshArgs
sshArgs := []string{ sshArgs := []string{
// TODO: document the options here // TODO: document the options here
"-o", "UserKnownHostsFile=/dev/null",
"-o", "StrictHostKeyChecking no", "-o", "StrictHostKeyChecking no",
"-N", "-N",
"docker@127.0.0.1", "docker@127.0.0.1",