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

try chmoding key

parent 08cf23ac
No related branches found
No related tags found
1 merge request!1465try chmoding key
Pipeline #11915 failed
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- echo "$SSH_PRIVATE_KEY" | ssh-add - > ~/.ssh/id_rsa - echo "$SSH_PRIVATE_KEY" | ssh-add - > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa - chmod 400 ~/.ssh/id_rsa
- '[[ -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:
- mkdir -p /home/ssa/bin - mkdir -p /home/ssa/bin
......
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