#16 Secure SSH key, generate pubkey, print fingerprint
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s

This commit is contained in:
Joey Hafner 2024-10-24 16:42:13 -07:00
parent b98def8268
commit 93b5321f75
No known key found for this signature in database

View File

@ -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: |