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

try chmoding key

parent 36445c0a
No related branches found
No related tags found
1 merge request!1465try chmoding key
Pipeline #11923 failed
......@@ -6,8 +6,8 @@
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- chmod 700 ~/.ssh
- chmod 600 "$SSH_PRIVATE_KEY"
- echo "$SSH_PRIVATE_KEY" | ssh-add - > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config'
script:
- 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