Which of the following sshd configuration should be set to no in order to fully disable password based logins? (Choose two.)
A. PAMAuthentication
B. ChallengeResponseAuthentication
C. PermitPlaintextLogin
D. UsePasswords
E. PasswordAuthentication
题解
若要禁止用户透过密码来登录 SSH,以下几个设置值应该要设为「no」。
- PasswordAuthentication
- ChallengeResponseAuthentication
- UsePAM
所以答案是选项「B」和选项「E」。
