ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 109 - SK0-005 discussion

Report
Export

An administrator needs to disable root login over SSH. Which of the following tiles should be edited to complete this task?

A.
/root.ssh/sshd/config
Answers
A.
/root.ssh/sshd/config
B.
/etc.ssh/sshd_config
Answers
B.
/etc.ssh/sshd_config
C.
/root/.ssh/ssh_config
Answers
C.
/root/.ssh/ssh_config
D.
/etc.sshs_shd_config
Answers
D.
/etc.sshs_shd_config
Suggested answer: B

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. Reference:

https://www.howtogeek.com/828538/how-and-why-to-disable-root-login-over-ssh-on-linux/

asked 02/10/2024
DAVID STAATZ
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first