fix: prevent interactive host key checking

This commit is contained in:
Glenn Y. Rolland 2021-05-08 17:33:02 +02:00
parent 8c8519055b
commit 2d6220b055

View file

@ -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