-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Unable to connect with private key #2018
Comments
I have this issue with A100 also. According to this issue the recommendation is to turn it into an OpenSSH key - however, it already is an OpenSSH key, albeit encrypted. The same key has worked with previous versions without a problem, and still works on regular Linux terminals. |
Which cipher does your key use? (in the DEK-Info header in the file itself) |
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,A2241277DDF18FD1B4060B1D13B7D88F
|
Seeing the same issue with A102, using an unencrypted OpenSSH key. Works in all other terminals I've tried (Putty, Mobaxterm, built-in SSH in Win10, and various CentOS VMs). |
Same for me, also on the newly released A102. I keep having to downgrade to A98 to get working again. For what it's worth, I've removed the passphrase from the key and the issue persists. The new key still works with other applications including the regular Terminal. The only thing that I can think of that might be different about my key and a "typical" key is that mine is a 4096 bit SHA256 RSA key. By default they're usually 2048 bit from ssh-keygen, though I notice that in the newest Fedora they're 3072 bit. |
@ChipwizBen The key I'm using is 2048 bit RSA (default Puttygen settings), so I doubt that's the issue here. |
@K3UL Yes, I originally used Puttygen to generate my key in ppk format. I then exported it to OpenSSH format and successfully used both in a number of settings, depending on what was supported. My understanding is that Terminus does not support ppk keys, so I tried using the OpenSSH version, which also does not work. |
Sadly, this is not fixed in A103 either: X Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR |
Seems to be something that was changed with release 99.
|
updated to 104, Here's the error I recieve when trying to connect with my puttygen key that was created: |
Same issue ^ |
Got the same issue |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks unless you comment. |
Could you please test it against the today's build? Direct link: https://nightly.link/Eugeny/terminus/workflows/windows/master |
Mac OS HS 10.13.6
I am using private key for connection.
I am adding a new host and trying to connect my remote machine:
Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR
I can make the same exact connection with Iterm2 without any issues.
The text was updated successfully, but these errors were encountered: