[GH-ISSUE #2505] Linux版用私钥连接SSH,不保存私钥密码就直接报错,不提示输入密码 #1613

Closed
opened 2026-02-27 00:04:12 +03:00 by kerem · 0 comments
Owner

Originally created by @chenlujia888 on GitHub (May 24, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2505

Electerm Version(Electerm版本)

1.21.57

Platform detail (平台详情)

Deepin 20.5, Linux My-PC 5.10.101-amd64-desktop #20.00.05.06-release SMP Mon Mar 14 09:34:55 CST 2022 x86_64 GNU/Linux

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

在Deepin 20.5系统中,直接下载deb安装Electerm 1.21.57,添加服务器SSH书签时,用私钥连接时,在私钥的密码处留空白,希望连接时提示输入密码,而不保存密码。但是连接服务器时,直接报错:

error:Cannot parse privateKey: Encrypted private OpenSSH key detected, but no passphrase given

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

希望在不提供私钥密码时,连接时弹出提示输入密码

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

No response

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

在配置electerm和ssh书签时,没有提供密码时,有几次的确弹出密码输入框了,但是更多的情况下是直接报错。

Originally created by @chenlujia888 on GitHub (May 24, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2505 ### Electerm Version(Electerm版本) 1.21.57 ### Platform detail (平台详情) Deepin 20.5, Linux My-PC 5.10.101-amd64-desktop #20.00.05.06-release SMP Mon Mar 14 09:34:55 CST 2022 x86_64 GNU/Linux ### What steps will reproduce the bug?(重新问题的详细步骤) 在Deepin 20.5系统中,直接下载deb安装Electerm 1.21.57,添加服务器SSH书签时,用私钥连接时,在私钥的密码处留空白,希望连接时提示输入密码,而不保存密码。但是连接服务器时,直接报错: > error:Cannot parse privateKey: Encrypted private OpenSSH key detected, but no passphrase given ### What should have happened?(期望的结果) 希望在不提供私钥密码时,连接时弹出提示输入密码 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) 在配置electerm和ssh书签时,没有提供密码时,有几次的确弹出密码输入框了,但是更多的情况下是直接报错。
kerem 2026-02-27 00:04:12 +03:00
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#1613
No description provided.