#16 Print pubkey
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Joey Hafner 2024-10-24 22:49:00 -07:00
parent 50259d7832
commit dd27255a0e
No known key found for this signature in database

View File

@ -20,10 +20,10 @@ jobs:
chmod 0600 /tmp/key chmod 0600 /tmp/key
ssh-keygen -y -f /tmp/key > /tmp/key.pub ssh-keygen -y -f /tmp/key > /tmp/key.pub
ssh-keygen -l -E sha256 -f /tmp/key.pub ssh-keygen -l -E sha256 -f /tmp/key.pub
cat /tmp/key.pub
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts
chmod 0600 ~/.ssh/known_hosts chmod 0600 ~/.ssh/known_hosts
alias ssh='ssh -i /tmp/key'
ssh vyos@192.168.1.1 'echo $(date)' ssh vyos@192.168.1.1 'echo $(date)'
- name: Print running VyOS version - name: Print running VyOS version
run: | run: |