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

let's try this again...

parent c59565b5
No related branches found
No related tags found
1 merge request!1465try chmoding key
Pipeline #11947 passed
This commit is part of merge request !1465. Comments created here will be created in the context of that merge request.
......@@ -5,9 +5,8 @@
- mkdir -p ~/.ssh
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_ed25519
- chmod 400 ~/.ssh/id_ed25519
- ssh-add ~/.ssh/id_ed25519
- chmod 400 "$SSH_PRIVATE_KEY"
- ssh-add "$SSH_PRIVATE_KEY"
- 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