Enable ssh hostkeys validations
This commit is contained in:
parent
5f8e0612d4
commit
8ee1227888
|
@ -13,7 +13,7 @@ pages:
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
||||||
- mkdir -p ~/.ssh
|
- 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:
|
script:
|
||||||
# Compile
|
# Compile
|
||||||
|
|
Loading…
Reference in New Issue
Block a user