kingToolbox / kingToolbox/WindTerm
[bug] SSH two-factor authentication,"automatically entering the SSH password" does not take effect | SSH双因子认证时无法自动输入SSH密码
- Dominant language
- C
- Stars
- 32.3k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
I use `WindTerm 2.7-prerelease-3` on `windows 11 24H2`.
During `SSH two-factor authentication` (you need to manually enter the `Google verification code` and the SSH password to log in to the Linux system), the SSH password cannot be entered automatically. The configured keyboard interaction (for automatically entering the SSH password) does not take effect.
I installed Google Authenticator for SSH on `Ubuntu 22.04`.
```bash
root@racknerd:~# cat /etc/pam.d/sshd
# PAM configuration for the Secure Shell service
# add google authenticator
auth required pam_google_authenticator.so
... ...
```
In the SSH configuration, the configured `"onekey"` setting is not taking effect.




Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with WindTerm 2.7-prerelease-3 on Windows 11 against Ubuntu 22.04 using the shown /etc/pam.d/sshd Google Authenticator setup. Start by checking the SSH two-factor authentication flow and the configured "onekey" keyboard interaction; done means the SSH password is entered automatically after the verification code without manual entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- authentication, cli, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100