SK0-005 · Question #145
SK0-005 Question #145: Real Exam Question with Answer & Explanation
The correct answer is B: /etc.ssh/sshd_config. To disable root login over SSH, the server administrator needs to edit the SSH configuration file located at /etc/ssh/sshd_config. This file contains various settings for the SSH daemon that runs on the server and accepts incoming SSH connections. The administrator needs to find
Question
An administrator needs to disable root login over SSH. Which of the following tiles should be edited to complete this task?
Options
- A/root.ssh/sshd/config
- B/etc.ssh/sshd_config
- C/root/.ssh/ssh_config
- D/etc.sshs_shd_config
Explanation
To disable root login over SSH, the server administrator needs to edit the SSH configuration file located at /etc/ssh/sshd_config. This file contains various settings for the SSH daemon that runs on the server and accepts incoming SSH connections. The administrator needs to find the line that says PermitRootLogin and change it to no or comment it out with a # symbol. Then, the administrator needs to restart the SSH service for the changes to take effect.
Topics
Community Discussion
No community discussion yet for this question.