From 3eb8be5a2437739000ecd0934e1dd1cd81f0cf96 Mon Sep 17 00:00:00 2001 From: GoFish Date: Sat, 12 Dec 2020 20:09:15 +0000 Subject: [PATCH] Remove UserKnownHostsFile for ssh, auto add to known_hosts --- 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 b18f42c..7a709fe 100644 --- a/windows_to_go.ps1 +++ b/windows_to_go.ps1 @@ -44,7 +44,7 @@ if (Test-Path -Path "$env:userprofile\password-store\*") { } # Clone pass repo for QtPass -set GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i $env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519" +set GIT_SSH_COMMAND="ssh -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