From 2d6220b055453fcd57c9be914e236daa3dba8df9 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sat, 8 May 2021 17:33:02 +0200 Subject: [PATCH] fix: prevent interactive host key checking --- docker-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 942d8bc..c4aa73a 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -57,6 +57,7 @@ if [ -n "$GITIT_REMOTE_REPOSITORY" ]; then cat > /root/.ssh/config <<-MARK Host $GITIT_REMOTE_DOMAIN IdentityFile /data/ssh/mirror_rsa + StrictHostKeyChecking no MARK chmod 600 /root/.ssh/config chmod 700 /root/.ssh