diff --git a/pkg/remote/sshclient.go b/pkg/remote/sshclient.go index efa2526ea..612bc9bf5 100644 --- a/pkg/remote/sshclient.go +++ b/pkg/remote/sshclient.go @@ -832,7 +832,7 @@ func findSshConfigKeywords(hostPattern string) (*SshKeywords, error) { proxyJumpSplit := strings.Split(proxyJumpRaw, ",") for _, proxyJumpName := range proxyJumpSplit { proxyJumpName = strings.TrimSpace(proxyJumpName) - if proxyJumpName == "" { + if proxyJumpName == "" || strings.ToLower(proxyJumpName) == "none" { continue } sshKeywords.ProxyJump = append(sshKeywords.ProxyJump, proxyJumpName)