New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

CompTIA Linux+ Exam XK0-005 Question # 75 Topic 8 Discussion

CompTIA Linux+ Exam XK0-005 Question # 75 Topic 8 Discussion

XK0-005 Exam Topic 8 Question 75 Discussion:
Question #: 75
Topic #: 8

To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?


A.

Add the line DenyUsers root to the /etc/hosts.deny file.


B.

Set PermitRootLogin to no in the /etc/ssh/sshd_config file.


C.

Add the line account required pam_nologin. so to the /etc/pam.d/sshd file.


D.

Set PubKeyAuthentication to no in the /etc/ssh/ssh_config file.


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.