-
Notifications
You must be signed in to change notification settings - Fork 263
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 - Even demo file on v0.8.0 is broken #177
Comments
@philippe-boyd-maxa where are you trying to run the action? If it's in a self-hosted environment, you have to provide the host keys yourself. If run in github.com, GitHub should provide the keys in the environment automatically: see #171 (comment) |
@sebastiankugler I'm running it in github.com. And if you check the Actions page of THIS repository https://github.com/webfactory/ssh-agent/actions you'll see that even the demo action fails. That's what I'm mentioning in my original issue. |
Seems we have problems with Windows-based builds and actions running in Docker images…? For the latter, #174 might contain hints |
I'm having this issue when running Poetry Install in GitHub Actions. "Host Key Verification" Fails after half of packages are installed with poetry. This issue started happening out of nowhere 2 weeks ago, so the timeline checkouts. |
I having the same error. My github action was based on ssh-agent v0.5.3 and after the breaking change in Github SSH, I used v0.8.0 and this is what I've done to setup the new generated private key: 1- I've created new pair of SSH keys using this command
I always 5- I've tried to change the comment in the key generating command with `-c "[email protected]:org/private-repo" to help the action to match the provate key with the public key. It did not work. |
Also having this issue when trying to run
Reverting to v0.7.0 allows everything to work fine but otherwise, same "fatal: Could not read from remote repository" error that everyone above is experiencing |
same issue here, 0.7.0 works, 0.8.0 fails |
webfactory/ssh-agent#177 (comment) Signed-off-by: Mandera <[email protected]>
same issue here, 0.7.0 works, 0.8.0 fails [2] |
Same here, 0.8.0 fails on Windows runners. |
Hi this is what worked for me:
and in
and create the key with:
And deploy the public key as a Deploy key in |
The solution descbribed on #174 (comment) worked for me with |
Based on the clues here, I got the following to work for me, which adds GitHub's SSH keys on a self-hosted Windows runner:
Although I then instead get an |
Check that It took me hours to understand and solve this. |
It seems that latest release following the update to the host keys broke everything...
Also, Demo github action no longer working : https://github.com/webfactory/ssh-agent/blob/master/.github/workflows/demo.yml
The text was updated successfully, but these errors were encountered: