From 46c62b904d8ffb6fce0961b8c6cd6cbd02d1d426 Mon Sep 17 00:00:00 2001 From: jasquat Date: Tue, 21 Feb 2023 16:43:52 -0500 Subject: [PATCH] more git config updates w/ burnettk --- src/spiffworkflow_backend/services/git_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spiffworkflow_backend/services/git_service.py b/src/spiffworkflow_backend/services/git_service.py index ba4755f2..f7baba8c 100644 --- a/src/spiffworkflow_backend/services/git_service.py +++ b/src/spiffworkflow_backend/services/git_service.py @@ -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