From b21e87ad192a27b569a31b4a1332aacd975ecd73 Mon Sep 17 00:00:00 2001 From: GoFish Date: Sat, 12 Dec 2020 20:55:23 +0000 Subject: [PATCH] Escape ssh command path --- windows_to_go.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows_to_go.ps1 b/windows_to_go.ps1 index 7001229..3f8f711 100644 --- a/windows_to_go.ps1 +++ b/windows_to_go.ps1 @@ -46,7 +46,7 @@ if (Test-Path -Path "$env:userprofile\password-store\*") { # Clone pass repo for QtPass $env:GIT_SSH_VARIANT="ssh" -$env:GIT_SSH_COMMAND="C:\Windows\System32\OpenSSH\ssh.exe -o StrictHostKeyChecking=no -i `"$env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519`"" +$env:GIT_SSH_COMMAND="`"C:\Windows\System32\OpenSSH\ssh.exe`" -o StrictHostKeyChecking=no -i `"$env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519`"" if (Test-Path -Path "$env:userprofile\password-store" -PathType Container) { cd "$env:userprofile\password-store" git pull