mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-23 17:48:00 +00:00
Start another agent
This commit is contained in:
parent
231e859720
commit
253819f283
1 changed files with 2 additions and 0 deletions
2
.github/workflows/demo.yml
vendored
2
.github/workflows/demo.yml
vendored
|
@ -60,6 +60,8 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
cat > ~/.ssh/5965bf89ab6e2900262e3f6802dfb4d65cb0de539d0fbb97d381e7130a4ba7e9 <<< "${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }}"
|
cat > ~/.ssh/5965bf89ab6e2900262e3f6802dfb4d65cb0de539d0fbb97d381e7130a4ba7e9 <<< "${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }}"
|
||||||
ssh-keygen -p -f ~/.ssh/5965bf89ab6e2900262e3f6802dfb4d65cb0de539d0fbb97d381e7130a4ba7e9 -N secret-passphrase
|
ssh-keygen -p -f ~/.ssh/5965bf89ab6e2900262e3f6802dfb4d65cb0de539d0fbb97d381e7130a4ba7e9 -N secret-passphrase
|
||||||
|
eval `ssh-agent`
|
||||||
echo "secret-passphrase" | ssh-add ~/.ssh/5965bf89ab6e2900262e3f6802dfb4d65cb0de539d0fbb97d381e7130a4ba7e9
|
echo "secret-passphrase" | ssh-add ~/.ssh/5965bf89ab6e2900262e3f6802dfb4d65cb0de539d0fbb97d381e7130a4ba7e9
|
||||||
|
ssh-add -L
|
||||||
git clone git@github.com:mpdude/test-2.git test-2-git
|
git clone git@github.com:mpdude/test-2.git test-2-git
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue