more git config updates w/ burnettk

This commit is contained in:
jasquat 2023-02-21 16:43:52 -05:00
parent df3b713ce4
commit d059665431
No known key found for this signature in database
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