Skip to content
Snippets Groups Projects
Commit 17206022 authored by Sven Marcus's avatar Sven Marcus
Browse files

Back to full SSH setup

parent 90387ad5
No related branches found
No related tags found
1 merge request!48Adds a convergence analysis test case that runs on Phoenix
......@@ -253,12 +253,12 @@ gcc_9_python_slurm_test:
PHOENIX_USER: "y0054816"
before_script:
# - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
# - apt-get install -y rsync
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- apt-get install -y rsync
- mkdir -p ~/.ssh
# - chmod 700 ~/.ssh
# - eval $(ssh-agent -s)
# - echo "$SSH_KEY" | tr -d '\r' | ssh-add -
- chmod 700 ~/.ssh
- eval $(ssh-agent -s)
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
- echo $SSH_KEY >> ansible/private_key
- ssh-keyscan -t rsa $HOST >> ~/.ssh/known_hosts
- ssh $PHOENIX_USER@$HOST "rm -rf output-*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment