Skip to content

Commit cff1268

Browse files
author
Kevin Orel Edry
committed
added quotes for identity file to work with white spaces in username
1 parent d765c36 commit cff1268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/configssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func makeSSHConfig(host, userName, envName, privateKeyFilepath string) string {
171171
User %s-%s
172172
StrictHostKeyChecking no
173173
ConnectTimeout=0
174-
IdentityFile=%s
174+
IdentityFile="%s"
175175
ServerAliveInterval 60
176176
ServerAliveCountMax 3
177177
`, envName, host, userName, envName, privateKeyFilepath)

0 commit comments

Comments
 (0)