fix: correctly override with ~/.ssh/config if failing to connect

This commit is contained in:
2022-01-19 13:28:57 +01:00
parent b1b9612e01
commit 13e582349c
2 changed files with 20 additions and 14 deletions

View File

@ -44,6 +44,7 @@ func getConnectionHelper(daemonURL string, sshFlags []string) (*connhelper.Conne
ctxConnDetails.Host,
ctxConnDetails.User,
ctxConnDetails.Port,
false,
)
if err != nil {
return nil, err