Which of the following files should contain the public key to gain remote access to the server?

Posted by: Pdfprep Category: XK0-004 Tags: , ,

A junior Linux administrator needs to access production servers using a secure SSH protocol.

Which of the following files should contain the public key to gain remote access to the server?
A . ~/ssh/authorized-keys
B . /etc/authorized_keys
C . /etc/sshd/ssh.conf
D . ~/.ssh/authorized_keys

Answer: D

Explanation:

Reference: https://www.linode.com/docs/security/securing-your-server/

Leave a Reply

Your email address will not be published.