more git config updates w/ burnettk

This commit is contained in:
jasquat 2023-02-21 16:43:52 -05:00
parent c5d611f03b
commit 90de749ab9
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