From b87403801f9ee4a471bb37a83da0f378a4300d4d Mon Sep 17 00:00:00 2001 From: Mark Riedesel Date: Wed, 20 Nov 2024 17:30:26 -0600 Subject: [PATCH] add ssh pre-connect to accept new host keys --- bin/dotfiles | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/dotfiles b/bin/dotfiles index 1782227..d75f2cf 100755 --- a/bin/dotfiles +++ b/bin/dotfiles @@ -33,6 +33,7 @@ function smart_clone() { die "$DOTFILES_ROOT already exists, aborting." fi else + ssh -o StrictHostKeyChecking=accept-new "${DOTFILES_REMOTE%%:*}" git clone --bare $DOTFILES_REMOTE $DOTFILES_ROOT --branch $DOTFILES_BRANCH fi }