From 5c5413b6b1c9c0d6676d3f5ac5d595701302f38f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 24 Oct 2024 16:55:00 -0700 Subject: [PATCH] #16 Switch to using the StrictHostKeyChecking=accept-new option --- .gitea/workflows/vyos-deploy.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/vyos-deploy.yaml b/.gitea/workflows/vyos-deploy.yaml index aaf50448..eb7fa2f7 100644 --- a/.gitea/workflows/vyos-deploy.yaml +++ b/.gitea/workflows/vyos-deploy.yaml @@ -20,9 +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' + alias ssh='ssh -i /tmp/key -o StrictHostKeyChecking=accept-new' - name: Print running VyOS version run: | ./vyos.sh op show system image