Enable ssh hostkeys validations

This commit is contained in:
Ariejan de Vroom 2017-09-04 15:44:02 +02:00
parent 5f8e0612d4
commit 8ee1227888
Signed by: ariejan
GPG Key ID: AD739154F713697B

View File

@ -13,7 +13,7 @@ pages:
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts'
script:
# Compile