-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
ED25519 private key loading failed: Keys(SshKey(Encoding(CharacterEncoding))) error #10235
Comments
Could you please generate a new key in the same format that reproduces the issue and post it here? |
Sure. I use
|
In Version: 1.0.215, everything worked perfectly without any errors. Starting from Version: 1.0.216 and in all later versions, including Version: 1.0.220 , I began to see the following error:
In Version: 1.0.216, despite the error, I was still able to connect successfully using the ED25519 private key. However, starting from Version: 1.0.218 and including Version: 1.0.220 , the same error occurs, but I am no longer able to connect with the ED25519 private key. I hope this helps you identify the issue. Best regards. |
@Star-caorui the test key you posted is working fine in the latest release (1.0.220) |
Thank you for the support! I’ve confirmed that the newly generated key works perfectly. However, the previous ed25519 key couldn’t be used, but since the issue is now resolved, I will go ahead and close it. For reference, I’m attaching the problematic (now deprecated) key here. Best regards!
|
Found it - the issue was with a key comment string that isn't UTF-8 |
Issue Description: Unable to Use ED25519 Key for SSH Login
When attempting to use an ED25519 private key for SSH login to my server, I encounter the following error:
Here is some relevant information about my environment:
Server Information:
6.12.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 10 Jan 2025 00:39:41 +0000 x86_64 GNU/Linux
OpenSSH_9.9p1
OpenSSL 3.4.0 22 Oct 2024
SSH Private Key Details:
My private key appears to be in the OpenSSH format:
I would greatly appreciate your help resolving this issue. If further information or testing is required, please let me know.
Thank you for your help and time.
Version: 1.0.220
Platform: macOS arm64 24.2.0
Plugins: none
Frontend: xterm-webgl
The text was updated successfully, but these errors were encountered: