1Z0-100 · Question #99
Examine this extract from the /etc/ssh/sshd_config file: passwordAuthentication no What is the effect of this parameter settings on the use of openSSH commands on both the client and server?
The correct answer is B. Client users whose keys are not in the authorized_keys file on the server are unable to use. If you set PasswordAuthentication to no, you will no longer be able to use a login and password to authenticate and must use a login and public key instead (if PubkeyAuthentication is set to
Question
Examine this extract from the /etc/ssh/sshd_config file:
passwordAuthentication no What is the effect of this parameter settings on the use of openSSH commands on both the client and server?
Options
- APasswords are not required and no ssh-keygen is required either. Only passphrase are required.
- BClient users whose keys are not in the authorized_keys file on the server are unable to use
- CThe ssh daemon does not ask for a password before starting or stopping the sshd service.
- DClient users whose keys are not in the authorized_keys file on the client are unable to use
How the community answered
(48 responses)- A15% (7)
- B73% (35)
- C8% (4)
- D4% (2)
Explanation
If you set PasswordAuthentication to no, you will no longer be able to use a login and password to authenticate and must use a login and public key instead (if PubkeyAuthentication is set to
Topics
Community Discussion
No community discussion yet for this question.