Commit 714ae40a authored by femiadeyemi's avatar femiadeyemi
Browse files

revert the last commit and use ssh-keyscan to scan the keys

parent 8ed77fdc
......@@ -68,7 +68,9 @@ production_deployment:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan hifis-tp.desy.de >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- ssh -v -A -tt -o StrictHostKeyChecking=no ubuntu@hifis-tp.desy.de uptime
- ssh -v -A -tt ubuntu@hifis-tp.desy.de
- echo $(whoami)
- exit
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment