fix: prevent interactive host key checking
This commit is contained in:
parent
8c8519055b
commit
2d6220b055
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ if [ -n "$GITIT_REMOTE_REPOSITORY" ]; then
|
||||||
cat > /root/.ssh/config <<-MARK
|
cat > /root/.ssh/config <<-MARK
|
||||||
Host $GITIT_REMOTE_DOMAIN
|
Host $GITIT_REMOTE_DOMAIN
|
||||||
IdentityFile /data/ssh/mirror_rsa
|
IdentityFile /data/ssh/mirror_rsa
|
||||||
|
StrictHostKeyChecking no
|
||||||
MARK
|
MARK
|
||||||
chmod 600 /root/.ssh/config
|
chmod 600 /root/.ssh/config
|
||||||
chmod 700 /root/.ssh
|
chmod 700 /root/.ssh
|
||||||
|
|
Loading…
Reference in a new issue