Skip to content
Snippets Groups Projects
Commit 8aea1c7e authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

deal with ed25519 ssh key

parent 997313e4
No related branches found
No related tags found
No related merge requests found
Pipeline #14070 passed
...@@ -39,6 +39,8 @@ stages: ...@@ -39,6 +39,8 @@ stages:
eval $(ssh-agent -s); eval $(ssh-agent -s);
mkdir -p ~/.ssh; mkdir -p ~/.ssh;
chmod 700 ~/.ssh; chmod 700 ~/.ssh;
echo "${SSH_PRIVATE_KEY}" >> ~/.ssh/id_ed25519;
chmod 0600 ~/.ssh/id_ed25519;
echo "${SSH_PRIVATE_KEY}" >> ~/.ssh/id_rsa; echo "${SSH_PRIVATE_KEY}" >> ~/.ssh/id_rsa;
chmod 0600 ~/.ssh/id_rsa; chmod 0600 ~/.ssh/id_rsa;
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config; echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config;
......
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