From dd27255a0edb9ba8a3c06f2e3bc992349e8266b3 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 24 Oct 2024 22:49:00 -0700 Subject: [PATCH] #16 Print pubkey --- .gitea/workflows/vyos-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/vyos-deploy.yaml b/.gitea/workflows/vyos-deploy.yaml index b2de705a..edcd8997 100644 --- a/.gitea/workflows/vyos-deploy.yaml +++ b/.gitea/workflows/vyos-deploy.yaml @@ -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: |