[GH-ISSUE #2755] Cannot parse privateKey: Unsupported key format #1798

Open
opened 2026-02-27 00:04:53 +03:00 by kerem · 3 comments
Owner

Originally created by @vitofasano on GitHub (Feb 19, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/2755

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-xx.xx.xx-mac-arm64.dmg

Platform detail (平台详情)

Darwin MacBook-Air-di-Vito.local 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan 5 20:50:21 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T8112 arm64

What steps will reproduce the bug?(重新问题的详细步骤)

Cannot parse privateKey: Unsupported key format

What should have happened?(期望的结果)

When I try to configure electerm to connect to my oracle VM using a private, key this message appears: "Cannot parse privateKey: Unsupported key format".
This doesn't happen if I use the normal if I use the normal terminal using "ssh ubuntu@xxx.xxx.xxx.xxx -i ssh-key-2020-10-07.key"

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

This doesn't happen if I use the normal if I use the normal terminal using "ssh ubuntu@xxx.xxx.xxx.xxx -i ssh-key-2020-10-07.key"

Additional information(其他任何相关信息)

No response

Originally created by @vitofasano on GitHub (Feb 19, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/2755 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-xx.xx.xx-mac-arm64.dmg ### Platform detail (平台详情) Darwin MacBook-Air-di-Vito.local 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan 5 20:50:21 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T8112 arm64 ### What steps will reproduce the bug?(重新问题的详细步骤) Cannot parse privateKey: Unsupported key format ### What should have happened?(期望的结果) When I try to configure electerm to connect to my oracle VM using a private, key this message appears: "Cannot parse privateKey: Unsupported key format". This doesn't happen if I use the normal if I use the normal terminal using "ssh ubuntu@xxx.xxx.xxx.xxx -i ssh-key-2020-10-07.key" ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) This doesn't happen if I use the normal if I use the normal terminal using "ssh ubuntu@xxx.xxx.xxx.xxx -i ssh-key-2020-10-07.key" ### Additional information(其他任何相关信息) _No response_
Author
Owner

@zxdong262 commented on GitHub (Feb 19, 2023):

How did you created the key?

<!-- gh-comment-id:1435924968 --> @zxdong262 commented on GitHub (Feb 19, 2023): How did you created the key?
Author
Owner

@vitofasano commented on GitHub (Feb 19, 2023):

I don't remember very well, maybe I generated it from ORACLE CLOUD.
Furthermore I use this key to successfull connect to VM using windows terminal and macOS terminal.

<!-- gh-comment-id:1435925865 --> @vitofasano commented on GitHub (Feb 19, 2023): I don't remember very well, maybe I generated it from ORACLE CLOUD. Furthermore I use this key to successfull connect to VM using windows terminal and macOS terminal.
Author
Owner

@itc7 commented on GitHub (Aug 17, 2023):

I also encountered this problem now,
Can't import file private key after I update to version 1.28.1
Display characters are incorrect.

image
<!-- gh-comment-id:1681684070 --> @itc7 commented on GitHub (Aug 17, 2023): I also encountered this problem now, Can't import file private key after I update to version 1.28.1 Display characters are incorrect. <img width="763" alt="image" src="https://github.com/electerm/electerm/assets/24414113/23090b83-8b72-4089-984c-d6e19aa594c9">
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1798
No description provided.