Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] SSH two-factor authentication,"automatically entering the SSH password" does not take effect | SSH双因子认证时无法自动输入SSH密码 #2700

Open
TangShwei opened this issue Feb 26, 2025 · 1 comment

Comments

@TangShwei
Copy link

TangShwei commented Feb 26, 2025

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.

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.

Image
Image

Image
Image

@darren4ten
Copy link

Same here, It stills need me input the password everytime and keyboard interact not work as well.

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants