exam questions

Exam SK0-005 All Questions

View all questions & answers for the SK0-005 exam

Exam SK0-005 topic 1 question 157 discussion

Actual exam question from CompTIA's SK0-005
Question #: 157
Topic #: 1
[All SK0-005 Questions]

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

  • A. /root/.ssh/sshd_config
  • B. /etc/ssh/sshd_config
  • C. /root/.ssh/ssh_config
  • D. /etc/ssh/ssh_config
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Grumpy_Old_Coot
7 months, 2 weeks ago
Easy cheat to remember this.. if the etc file has a d on it (sshd), it is the configuration file(s) for a Daemon (or service).
upvoted 2 times
...
King2
1 year, 9 months ago
Selected Answer: B
Answer is correct. Reference : https://www.linuxfordevices.com/tutorials/linux/enable-disable-root-login-in-linux
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...