Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我像这样使用 OpenSSH,我会喜欢它:
ssh user@host
它要求输入密码
Please enter Passphrase:
然后要求输入密码
Please enter Password:
这可能吗?
我认为您可以配置 pam 这样做。Pam 表示为您提供登录提示的可插入身份验证模块,ssh 被配置为使用 UsePam。
您应该使用多个身份验证模块配置您的登录,以便它多次询问您的密码。