update known hosts
This commit is contained in:
parent
f0a58499d0
commit
1ac326f0c1
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ before_script:
|
||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
|
- echo "$SSH_KNOWN_HOSTS" >> /root/.ssh/known_hosts
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
- chmod 644 ~/.ssh/known_hosts
|
||||||
|
|
||||||
ping:
|
ping:
|
||||||
|
|
Loading…
Reference in a new issue