Which of the following MOST securely achieves this task?

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

A Linux systems administrator is setting up SSH access with PKI for several using their newly created RSA keys.

Which of the following MOST securely achieves this task?
A . Use curl to copy each user’s public key file to the respective system
B . Use cp to copy each user’s public key file to the respective system
C . Use ssh-copy-idto copy each user’s public key file to the respective system
D . Use ssh-copy-idto copy each user’s private key file to the respective system

Answer: C

Explanation:

Reference: https://www.linode.com/docs/security/authentication/use-public-key-authentication-with-ssh/

Leave a Reply

Your email address will not be published.