From b2fe7206e1d48f773a5328777cad9fea73477a39 Mon Sep 17 00:00:00 2001 From: burnettk Date: Fri, 20 Jan 2023 19:06:59 -0500 Subject: [PATCH] since accepting the github host entry programatically is no more secure --- spiffworkflow-backend/bin/git_commit_bpmn_models_repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiffworkflow-backend/bin/git_commit_bpmn_models_repo b/spiffworkflow-backend/bin/git_commit_bpmn_models_repo index c05d7587..3a2e0150 100755 --- a/spiffworkflow-backend/bin/git_commit_bpmn_models_repo +++ b/spiffworkflow-backend/bin/git_commit_bpmn_models_repo @@ -47,7 +47,7 @@ function run() { tmpfile=$(mktemp /tmp/tmp_git.XXXXXX) chmod 600 "$tmpfile" echo "$GIT_SSH_PRIVATE_KEY" >"$tmpfile" - export GIT_SSH_COMMAND="ssh -o IdentitiesOnly=yes -i ${tmpfile} -F /dev/null" + export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ${tmpfile} -F /dev/null" else PAT="${git_commit_username}:${git_commit_password}" AUTH=$(echo -n "$PAT" | openssl base64 | tr -d '\n')