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

let's try this again...

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