update known hosts

This commit is contained in:
Hannaeko 2021-06-07 18:37:40 +02:00
parent f0a58499d0
commit 1ac326f0c1

View file

@ -7,7 +7,7 @@ before_script:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
- echo "$SSH_KNOWN_HOSTS" >> /root/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
ping: