google-authenticator-libpam SSH登录密码和验证码

问题描述

SSH登录密码和验证码

我想在SSH和常规登录期间提示输入密码和验证码。我的配置看起来像这样:

/etc/pam.d/sshd

[...]
# Standard Un*x authentication.
#@include common-auth
[...]
# Google Authenticator
auth required pam_google_authenticator.so

/ etc / ssh / sshd_config

[...]
# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication yes
[...]

有什么建议吗?

感谢和问候

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)