mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 12:26:22 +00:00
fixup! ci: probar conexión a ssh antes de perder tiempo
This commit is contained in:
parent
ccfc0fae34
commit
190aa74f58
1 changed files with 0 additions and 5 deletions
|
@ -31,12 +31,7 @@ pipeline:
|
||||||
- "apk add python2 dotenv openssh-client"
|
- "apk add python2 dotenv openssh-client"
|
||||||
- "install -d -m 700 ~/.ssh/"
|
- "install -d -m 700 ~/.ssh/"
|
||||||
- "echo \"$${KNOWN_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts"
|
- "echo \"$${KNOWN_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts"
|
||||||
- "echo \"$${KNOWN_HOSTS}\""
|
|
||||||
- "echo \"$${KNOWN_HOSTS}\" | base64 -d"
|
|
||||||
- "chmod 600 ~/.ssh/known_hosts"
|
- "chmod 600 ~/.ssh/known_hosts"
|
||||||
- "cat ~/.ssh/known_hosts"
|
|
||||||
- "ls -hal ~/.ssh"
|
|
||||||
- "echo \"$${ORIGIN}\" | cut -d @ -f 2 | cut -d : -f 1 | xargs ssh-keygen -F"
|
|
||||||
- "eval $(ssh-agent -s)"
|
- "eval $(ssh-agent -s)"
|
||||||
- "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -"
|
- "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -"
|
||||||
- "ssh $${ORIGIN%:*}"
|
- "ssh $${ORIGIN%:*}"
|
||||||
|
|
Loading…
Reference in a new issue