#16 Initialize the known_hosts file before attempting to refresh it
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
c54c046a24
commit
4d9d111542
@ -20,6 +20,7 @@ jobs:
|
||||
chmod 0600 /tmp/key
|
||||
ssh-keygen -y -f /tmp/key > /tmp/key.pub
|
||||
ssh-keygen -l -E sha256 -f /tmp/key.pub
|
||||
mkdir -p /root/.ssh/ && touch /root/.ssh/known_hosts
|
||||
ssh-keygen -R 192.168.1.1
|
||||
alias ssh='ssh -i /tmp/key'
|
||||
- name: Print running VyOS version
|
||||
|
Loading…
Reference in New Issue
Block a user