Merge pull request #6810 from josedonizetti/fix-kic-tunnel-known-hosts-issue

tunnel on docker driver on mac: fix known_hosts issue
pull/6813/head
Medya Ghazizadeh 2020-02-26 14:01:31 -08:00 committed by GitHub
commit 8f887a5e41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
sshArgs := []string{
// TODO: document the options here
"-o", "UserKnownHostsFile=/dev/null",
"-o", "StrictHostKeyChecking no",
"-N",
"docker@127.0.0.1",