Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit a878b98

Browse files
authored
added quotes for identity file to work with white spaces in username (#138)
added quotes to .ssh/config IdentityFile
1 parent d765c36 commit a878b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/cmd/configssh.go

+1-1
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)