Black Friday Lightning Deal: 80% Off Exam Bundles! Use coupon code below for instant savings! - Ends in 0d 00h 00m 00s - Coupon code: STOCKUP80

A systems administrator needs to disable root login for SSH.

Note! Following XK0-005 Exam is Retired now. Please select the alternative replacement for your Exam Certification. The new exam code is XK0-006

A systems administrator needs to disable root login for SSH. Which of the following commands should the administrator use?

A.

touch /etc/ssh/sshd_config | awk 's/PermitRootLoginX yes/PermitRootLoginX no/'

B.

sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config

C.

touch /etc/ssh/sshd_config | print* 1PermitRootLogin/PermitRootLogin no/'

D.

cat /etc/ssh/sshd_config | grep 's/PermitRootLogin yes/PermitRootLogin no/'

CompTIA XK0-005 Summary

  • Vendor: CompTIA
  • Product: XK0-005
  • Update on: Nov 24, 2026
  • Questions: 487
Price: $52.5  $149.99
Buy Now XK0-005 PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method