[GH-ISSUE #3827] 同时使用私钥与密码时,无法正常登入 #2631

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

Originally created by @owo931214 on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/3827

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

electerm-1.70.6-win-x64-installer.exe

Platform detail (平台详情)

Microsoft Windows NT 10.0.19045.0 x64

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

情况1.

服务端sshd_config使用AuthenticationMethods publickey,password
客户端授权资讯中,只输入密码/只输入私钥/同时输入密码私钥/两者都不输入,都会显示ok但无法正常登入

  • 输入密码并按确认->重复弹窗要求输入密码
  • 按下忽略->[error] All configured authentication methods failed
  • 按下取消->[error] User cancel

情况2.

服务端sshd_config使用AuthenticationMethods password,publickey
客户端授权资讯中

  • 两者皆不输入/只输入密码->如情况1
  • 只输入私钥->弹窗后输入密码可正常登入
  • 两者皆输入->可正常登入

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

在两种情况下

  • 只输入密码->自动寻找私钥后登入
  • 只输入私钥->弹窗后输入密码后登入
  • 两者皆输入->正常登入
  • 两者皆不输入->自动寻找私钥且弹窗后输入密码可正常登入

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

No response

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

No response

Originally created by @owo931214 on GitHub (Mar 6, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/3827 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.70.6-win-x64-installer.exe ### Platform detail (平台详情) Microsoft Windows NT 10.0.19045.0 x64 ### What steps will reproduce the bug?(重新问题的详细步骤) # 情况1. 服务端sshd_config使用AuthenticationMethods publickey,password 客户端授权资讯中,只输入密码/只输入私钥/同时输入密码私钥/两者都不输入,都会显示ok但无法正常登入 * 输入密码并按确认->重复弹窗要求输入密码 * 按下忽略->[error] All configured authentication methods failed * 按下取消->[error] User cancel # 情况2. 服务端sshd_config使用AuthenticationMethods password,publickey 客户端授权资讯中 * 两者皆不输入/只输入密码->如情况1 * 只输入私钥->弹窗后输入密码可正常登入 * 两者皆输入->可正常登入 ### What should have happened?(期望的结果) 在两种情况下 * 只输入密码->自动寻找私钥后登入 * 只输入私钥->弹窗后输入密码后登入 * 两者皆输入->正常登入 * 两者皆不输入->自动寻找私钥且弹窗后输入密码可正常登入 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
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#2631
No description provided.