add ssh pre-connect to accept new host keys
This commit is contained in:
parent
ed42b5ebb9
commit
b87403801f
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ function smart_clone() {
|
||||||
die "$DOTFILES_ROOT already exists, aborting."
|
die "$DOTFILES_ROOT already exists, aborting."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
ssh -o StrictHostKeyChecking=accept-new "${DOTFILES_REMOTE%%:*}"
|
||||||
git clone --bare $DOTFILES_REMOTE $DOTFILES_ROOT --branch $DOTFILES_BRANCH
|
git clone --bare $DOTFILES_REMOTE $DOTFILES_ROOT --branch $DOTFILES_BRANCH
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue