Skip to content
Snippets Groups Projects
Commit fbec0514 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

let's try this again...

parent b8c70193
No related branches found
No related tags found
1 merge request!1465try chmoding key
Pipeline #11944 failed
......@@ -5,8 +5,9 @@
- mkdir -p ~/.ssh
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- chmod 400 "$SSH_PRIVATE_KEY"
- ssh-add "$SSH_PRIVATE_KEY"
- echo $SSH_PRIVATE_KEY > .ssh/id_ed25519
- chmod 400 .ssh/id_ed25519
- ssh-add .ssh/id_ed25519
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config'
script:
......
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