Added SSH Config With Port Number
continuous-integration/drone/push Build is failing Details

init
shnee 3 years ago
parent 250ebe7a27
commit 7c412e9f24

@ -16,6 +16,7 @@ steps:
commands:
- sleep 5 # give docker enough time to start
- mkdir ~/.ssh
- echo "Host git.shnee.net\n Port 222" >> ~/.ssh/config
- eval $(ssh-agent -s)
- echo "$SSH_KEY" | ssh-add -
- ssh-keyscan -H git@git.shnee.net > ~/.ssh/known_hosts

Loading…
Cancel
Save