#16 Print pubkey
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
parent
50259d7832
commit
dd27255a0e
@ -20,10 +20,10 @@ jobs:
|
||||
chmod 0600 /tmp/key
|
||||
ssh-keygen -y -f /tmp/key > /tmp/key.pub
|
||||
ssh-keygen -l -E sha256 -f /tmp/key.pub
|
||||
cat /tmp/key.pub
|
||||
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
|
||||
ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts
|
||||
chmod 0600 ~/.ssh/known_hosts
|
||||
alias ssh='ssh -i /tmp/key'
|
||||
ssh vyos@192.168.1.1 'echo $(date)'
|
||||
- name: Print running VyOS version
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user