[GH-ISSUE #3005] 無存儲密碼下,使用sshkey passwd無法登入 #1979

Closed
opened 2026-02-27 00:05:35 +03:00 by kerem · 5 comments
Owner

Originally created by @pingchou8 on GitHub (Sep 27, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/3005

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

electterm 1.33.0

Platform detail (平台详情)

Linux 6.2.0-33-generic #33~22.04.1-Ubuntu

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

在沒有保存sshkey密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後無法連線

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

在沒有保存sshkey密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後可以連線

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

其他終端程式可以在沒有保存sshkey密碼情況下,連線到ssh,提示輸入密碼,輸入密碼後可連線

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

electterm 1.33.0已經修復一般在沒有保存密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後無法連線。
目前在electterm 1.33.0上,沒有保存sshkey密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後無法連線。
electterm 1.28.4上,沒有保存sshkey密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後是可以連線的。

Originally created by @pingchou8 on GitHub (Sep 27, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/3005 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electterm 1.33.0 ### Platform detail (平台详情) Linux 6.2.0-33-generic #33~22.04.1-Ubuntu ### What steps will reproduce the bug?(重新问题的详细步骤) 在沒有保存sshkey密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後無法連線 ### What should have happened?(期望的结果) 在沒有保存sshkey密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後可以連線 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) 其他終端程式可以在沒有保存sshkey密碼情況下,連線到ssh,提示輸入密碼,輸入密碼後可連線 ### Additional information(其他任何相关信息) electterm 1.33.0已經修復一般在沒有保存密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後無法連線。 目前在electterm 1.33.0上,沒有保存sshkey密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後無法連線。 electterm 1.28.4上,沒有保存sshkey密碼情況下,連線到ssh主機,提示輸入密碼,輸入密碼後是可以連線的。
kerem 2026-02-27 00:05:35 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@zxdong262 commented on GitHub (Sep 27, 2023):

Screen Shot 2023-09-27 at 09 55 04
请问是这样的吗

<!-- gh-comment-id:1736550263 --> @zxdong262 commented on GitHub (Sep 27, 2023): ![Screen Shot 2023-09-27 at 09 55 04](https://github.com/electerm/electerm/assets/1641949/07644f2c-0b34-48f2-8103-7a44a6a31c36) 请问是这样的吗
Author
Owner

@pingchou8 commented on GitHub (Sep 27, 2023):

是的,輸入密碼後無法連線,只會一直轉圈
螢幕快照 2023-09-27 08-03-35

若是有保存sshkey密碼是可以正常連線的

<!-- gh-comment-id:1736552404 --> @pingchou8 commented on GitHub (Sep 27, 2023): 是的,輸入密碼後無法連線,只會一直轉圈 ![螢幕快照 2023-09-27 08-03-35](https://github.com/electerm/electerm/assets/145855945/8d4db3d8-238d-43f8-9abd-dce6b79f63b8) 若是有保存sshkey密碼是可以正常連線的
Author
Owner

@zxdong262 commented on GitHub (Sep 27, 2023):

我知道了,确实存在,如果不输入privatekey,会自动读取.ssh目录下的key,以及询问密码,那样可以登陆

<!-- gh-comment-id:1736557708 --> @zxdong262 commented on GitHub (Sep 27, 2023): 我知道了,确实存在,如果不输入privatekey,会自动读取.ssh目录下的key,以及询问密码,那样可以登陆
Author
Owner

@pingchou8 commented on GitHub (Sep 27, 2023):

我管理主機多,「.ssh」下的key很多,可以指定key;但目前sshkey只能匯入,也沒辦法指定路徑,若是自動讀取出錯機率很高。

<!-- gh-comment-id:1736565676 --> @pingchou8 commented on GitHub (Sep 27, 2023): 我管理主機多,「.ssh」下的key很多,可以指定key;但目前sshkey只能匯入,也沒辦法指定路徑,若是自動讀取出錯機率很高。
Author
Owner

@zxdong262 commented on GitHub (Sep 27, 2023):

感谢反馈,将在一小时内发布新版本修复

<!-- gh-comment-id:1736568901 --> @zxdong262 commented on GitHub (Sep 27, 2023): 感谢反馈,将在一小时内发布新版本修复
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#1979
No description provided.