Skip to content

Commit ada1921

Browse files
committed
fix: add ssh config quotes
1 parent 73c6984 commit ada1921

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/devspace/services/ssh/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func addHost(path, host, port string) (string, error) {
232232
newLines = append(newLines, " HostName localhost")
233233
newLines = append(newLines, " LogLevel error")
234234
newLines = append(newLines, " Port "+port)
235-
newLines = append(newLines, " IdentityFile "+DevSpaceSSHPrivateKeyFile)
235+
newLines = append(newLines, " IdentityFile \""+DevSpaceSSHPrivateKeyFile+"\"")
236236
newLines = append(newLines, " StrictHostKeyChecking no")
237237
newLines = append(newLines, " UserKnownHostsFile /dev/null")
238238
newLines = append(newLines, " User devspace")

0 commit comments

Comments
 (0)