From cff1268a94a1e8a6c1469b8e22b642f581aa9660 Mon Sep 17 00:00:00 2001 From: Kevin Orel Edry Date: Sat, 17 Oct 2020 09:21:16 +0300 Subject: [PATCH] added quotes for identity file to work with white spaces in username --- internal/cmd/configssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/configssh.go b/internal/cmd/configssh.go index 5da6745c..ac65b3ee 100644 --- a/internal/cmd/configssh.go +++ b/internal/cmd/configssh.go @@ -171,7 +171,7 @@ func makeSSHConfig(host, userName, envName, privateKeyFilepath string) string { User %s-%s StrictHostKeyChecking no ConnectTimeout=0 - IdentityFile=%s + IdentityFile="%s" ServerAliveInterval 60 ServerAliveCountMax 3 `, envName, host, userName, envName, privateKeyFilepath)