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

failed to parse private key (decryption password incorrect) #259

Open
DrPyser opened this issue Jan 11, 2024 · 1 comment
Open

failed to parse private key (decryption password incorrect) #259

DrPyser opened this issue Jan 11, 2024 · 1 comment
Assignees

Comments

@DrPyser
Copy link

DrPyser commented Jan 11, 2024

Hi!
I'm trying out this cool utility for the first time.
Running it locally, I'm having trouble connecting to any of my ssh hosts from my config, as there seems to be an issue using my passphrases to decrypt the ssh key. And that even though I have an ssh agent configured(I also have IdentityFile settings on those hosts in my ssh config).

{"err":"failed to setup a authentication method: failed to parse private key: \"/home/drpyser/.ssh/id_drpyser\": x509: decryption password incorrect","level":"warn","msg":"root cause","time":"2024/01/10 19:51:26"}
{"err":"failed to setup a authentication method: failed to parse private key: \"/home/drpyser/.ssh/id_rsa\": x509: decryption password incorrect","level":"warn","msg":"root cause","time":"2024/01/10 19:58:52"}

I can verify my passphrases are working otherwise.

@caarlos0 caarlos0 self-assigned this Feb 29, 2024
@caarlos0
Copy link
Member

does it ask you for the password?

that said, it would probably work better with a ed25519 key...

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

2 participants