ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 361 - XK0-005 discussion

Report
Export

A Linux administrator is enabling root log-in over SSH on a server. Which of the following combinations of files and parameters should the administrator modify to accomplish this task?

A.

/etc/ssh/ssh_config - PermitRootLogin

Answers
A.

/etc/ssh/ssh_config - PermitRootLogin

B.

/etc/ssh/ssh_config - AllowRootLogin

Answers
B.

/etc/ssh/ssh_config - AllowRootLogin

C.

/etc/ssh/sshd_config - PermitRootLogin

Answers
C.

/etc/ssh/sshd_config - PermitRootLogin

D.

/etc/ssh/sshd_config - AllowRootLogin

Answers
D.

/etc/ssh/sshd_config - AllowRootLogin

Suggested answer: C

Explanation:

To enable root login over SSH, the administrator must edit the /etc/ssh/sshd_config file, which configures the SSH daemon. The PermitRootLogin directive should be set to yes to allow root login. After making this change, the SSH daemon must be restarted for the changes to take effect.

asked 18/10/2024
Jason Hicks
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first