more git config updates w/ burnettk

This commit is contained in:
jasquat 2023-02-21 16:43:52 -05:00
parent 621e13fb51
commit 46c62b904d
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@ class GitService:
)
if ssh_key_path is not None:
git_env_options["GIT_SSH_COMMAND"] = (
"ssh -F /dev/null -o StrictHostKeyChecking=no -i %s" % ssh_key_path
"ssh -F /dev/null -o UserKnownHostsFile=/dev/null -o"
" StrictHostKeyChecking=no -i %s" % ssh_key_path
)
# this is fine since we pass the commands directly