#16 Initialize the known_hosts file before attempting to refresh it
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Joey Hafner 2024-10-24 16:49:08 -07:00
parent c54c046a24
commit 4d9d111542
No known key found for this signature in database

View File

@ -20,6 +20,7 @@ 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
mkdir -p /root/.ssh/ && touch /root/.ssh/known_hosts
ssh-keygen -R 192.168.1.1 ssh-keygen -R 192.168.1.1
alias ssh='ssh -i /tmp/key' alias ssh='ssh -i /tmp/key'
- name: Print running VyOS version - name: Print running VyOS version