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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy