From ebab71089b019d564990ff0bb2093e493642ff93 Mon Sep 17 00:00:00 2001 From: Pierre G Date: Tue, 12 Nov 2024 16:34:43 +0100 Subject: [PATCH] set StrictHostKeychecking=no option to the ssh connection (#389) --- cmd/admin_k9s.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/admin_k9s.go b/cmd/admin_k9s.go index 9a47c79..051ae7f 100644 --- a/cmd/admin_k9s.go +++ b/cmd/admin_k9s.go @@ -122,6 +122,7 @@ func setupSSHConnection(ctx context.Context) (*exec.Cmd, error) { sshArgs := []string{ "-N", "-D", "1080", + "-o", "StrictHostKeychecking=no", "-o", "ServerAliveInterval=10", "-o", "ServerAliveCountMax=3", "-o", "TCPKeepAlive=yes",