202-450 Exam QuestionsBrowse all questions from this exam

202-450 Exam - Question 8


Which of the following sshd configuration should be set to no in order to fully disable password based logins? (Choose two.)

Show Answer
Correct Answer: BE

To fully disable password-based logins in the sshd configuration file, you should set both `PasswordAuthentication` and `ChallengeResponseAuthentication` to 'no'. `PasswordAuthentication` directly controls whether password authentication is allowed, while `ChallengeResponseAuthentication` controls whether challenge-response authentication methods (often involving passwords) are permitted. Setting these two options to 'no' ensures that all password-based methods of authentication are disabled.

Discussion

4 comments
Sign in to comment
glorofarzOptions: BE
Jul 28, 2020

B. ChallengeResponseAuthentication typo...not that it exactly matters.... :)

chavezdf
Aug 18, 2020

It Matters. To fully disable it. https://blog.tankywoo.com/linux/2013/09/14/ssh-passwordauthentication-vs-challengeresponseauthentication.html

jorge_pasOptions: BE
Nov 15, 2021

B and E is correct. PasswordAuthentication: Specifies whether password authentication is allowed. ChallengeResponseAuthentication: Specifies whether challenge-response authentication is allowed (e.g. via PAM or though authentication styles supported in login.conf(5)) https://linux.die.net/man/5/sshd_config

jorgevisentiniOptions: BE
Jan 21, 2024

B and E is correct. The PAMAuthentication, PermitPlaintextLogin and UsePasswords options don't even exist in the sshd_config file