From 870d7933a445377dfa41cc4d1331513b9d446b0f Mon Sep 17 00:00:00 2001 From: Liam Gallagher Date: Tue, 8 Oct 2024 07:48:56 +1300 Subject: [PATCH] remove user from known_host setup --- .github/workflows/update-server.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-server.yml b/.github/workflows/update-server.yml index 7c91982d..32575a97 100644 --- a/.github/workflows/update-server.yml +++ b/.github/workflows/update-server.yml @@ -28,7 +28,7 @@ jobs: mkdir -p ~/.ssh/ echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - ssh-keyscan root@slc.compile.learnbevy.com >> ~/.ssh/known_hosts + ssh-keyscan slc.compile.learnbevy.com >> ~/.ssh/known_hosts env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - name: Test SSH