-
Notifications
You must be signed in to change notification settings - Fork 325
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
failed to authenticate SSH session #4488
Comments
Looking at the log of the successfull git push, it looks like the SSH key is an The last time I ran into something like this, that turned out to be the problem and the error message and hint were both wrong. Would it be possible for you to try out an if that doesn't work, I'll see if I can try to repro this locally. |
Hmmmm, I found a similar problem with If that turns out to be the problem, we can probably add another hint. [1] - cargo-generate/cargo-generate#470 |
The fetch works after the initial unlock from vanilla git:
So I guess the problem come with the passphrase. |
As a workaround you can use either use password less ssh certs or use For a workaround, I guess we could add a hint about passwd protected private key files as well. For long term fix, we should probably optionally collect and pass in the passphrase, but I don't know a good way to detect if an ssh private key file is passwd protected, so this can be a pain. @martinvonz @yuja may have ideas for a long term fix. |
#3191 might help if |
Description
I'm not sure what I did wrong here. But I also encountered this on another machine. So maybe something is wrong?
The repo here is hosted on git.sr.ht. Also, I note that I am not asked for my ssh passphrase, while
ssh -F /dev/null [email protected]
does.Remotes are:
Steps to Reproduce the Problem
Expected Behavior
It pushs correctly
Actual Behavior
It fails with this error
Specifications
Complementary
I can git push, a vanilla way:
The text was updated successfully, but these errors were encountered: