Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host key verification failed on Windows on 0.9.0 #221

Open
xanather opened this issue Jun 5, 2024 · 7 comments
Open

Host key verification failed on Windows on 0.9.0 #221

xanather opened this issue Jun 5, 2024 · 7 comments

Comments

@xanather
Copy link

xanather commented Jun 5, 2024

See #17 (comment)

Creating an actual issue to track this rather than people commenting on that PR.

Downgrading does fix the issue, but since nodeJS 16 is being deprecated in GitHub actions it may no longer be a workaround in the future.

@ReFil
Copy link

ReFil commented Jun 5, 2024

I hit this issue too with a docker based workflow, downgrading to 0.7.0 sorted it for me too

@TheDuckCow
Copy link

Same boat here - we're using 0.6.0 for now as it's stable as 0.8.0 didn't work, but keen to see once this is working on node 20. Thanks for the support here!

@krotz-dieter
Copy link

Same for me on windows node with 0.9.0

@MoustaphaSaad
Copy link

same for me on windows

@Waxo
Copy link

Waxo commented Aug 28, 2024

Can we have updates on it ?

@tzuriel-spearuav
Copy link

As this is yet to be resolved, I found a workaround by adding github.com ssh key to known_hosts file:

      - name: Configure SSH agent
        uses: webfactory/ssh-agent@v0.9.0
        with:
          ssh-private-key: ${{ YOUR_SECRET_KEY }}

      - name: Add GitHub to the SSH known hosts file
        run: |
          curl -L -o jq.exe https://github.com/jqlang/jq/releases/latest/download/jq-win64.exe
          curl --silent https://api.github.com/meta | jq --raw-output "\"github.com \"+.ssh_keys[]" >> %USERPROFILE%/.ssh/known_hosts

@Waxo
Copy link

Waxo commented Sep 5, 2024

This PR (#186) is close to @tzuriel-spearuav fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants