Skip to content
Snippets Groups Projects
Commit 42011c59 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Test Ssh log

print whoami and hostname
parent 8f1de54e
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,8 @@ ssh: ...@@ -19,6 +19,8 @@ ssh:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- whoami
- hostname
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/gitlab_rsa - echo "$SSH_PRIVATE_KEY" > ~/.ssh/gitlab_rsa
- echo "$SSH_PUBLIC_KEY" > ~/.ssh/gitlab_rsa.pub - echo "$SSH_PUBLIC_KEY" > ~/.ssh/gitlab_rsa.pub
......
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