#16 Secure SSH key, generate pubkey, print fingerprint
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
This commit is contained in:
parent
b98def8268
commit
93b5321f75
@ -17,6 +17,9 @@ jobs:
|
|||||||
- name: Configure SSH agent
|
- name: Configure SSH agent
|
||||||
run: |
|
run: |
|
||||||
echo -e "${{ secrets.RUNNER_SSH_PRIVATEKEY }}" > /tmp/key
|
echo -e "${{ secrets.RUNNER_SSH_PRIVATEKEY }}" > /tmp/key
|
||||||
|
chmod 0600 /tmp/key
|
||||||
|
ssh-keygen -y -f /tmp/key > /tmp/key.pub
|
||||||
|
ssh-keygen -l -E sha256 -f /tmp/key.pub
|
||||||
alias ssh='ssh -i /tmp/key'
|
alias ssh='ssh -i /tmp/key'
|
||||||
- name: Print running VyOS version
|
- name: Print running VyOS version
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user