diff --git a/pkg/ssh/ssh_dialer_test.go b/pkg/ssh/ssh_dialer_test.go index 3f162c098a..20d5cd92ab 100644 --- a/pkg/ssh/ssh_dialer_test.go +++ b/pkg/ssh/ssh_dialer_test.go @@ -937,7 +937,7 @@ SSH_BIN -o PasswordAuthentication=no -o ConnectTimeout=3 -o UserKnownHostsFile=" ` if runtime.GOOS == "windows" { sshScript = `@echo off -SSH_BIN -o PasswordAuthentication=no -o ConnectTimeout=3 -o UserKnownHostsFile=%USERPROFILE%\.ssh\known_hosts %* +"SSH_BIN" -o PasswordAuthentication=no -o ConnectTimeout=3 -o UserKnownHostsFile=%USERPROFILE%\.ssh\known_hosts %* ` } sshScript = strings.ReplaceAll(sshScript, "SSH_BIN", sshAbsPath)