From c8bb0f095e251e95cfb2cc5602db732eb5c28696 Mon Sep 17 00:00:00 2001 From: Leo Sin Date: Thu, 13 Jun 2024 03:27:33 -0400 Subject: [PATCH] ci: host key --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09234f3..c04ad82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,17 +36,17 @@ jobs: - name: Test ssh connection to sshd - 127.0.0.1 shell: bash run: | - ssh 127.0.0.1 true + ssh -o StrictHostKeyChecking=accept-new 127.0.0.1 true - name: Test ssh connection to sshd - ::1 shell: bash run: | - ssh ::1 true + ssh -o StrictHostKeyChecking=accept-new ::1 true - name: Test ssh connection to sshd - localhost shell: bash run: | - ssh localhost true + ssh -o StrictHostKeyChecking=accept-new localhost true - name: Setup ssh-agent shell: bash