Which of the following tools is most suitable to use when uploading the key to the remote servers?

A systems administrator creates a public key for authentication.

Which of the following tools is most suitable to use when uploading the key to the remote servers?

A. scp

B. ssh-copy-id

C. ssh-agent

D. ssh-keyscan

Answer: B

Explanation:

The best tool to use when uploading the public key to the remote servers is

B. ssh-copy-id. This tool will copy the public key from the local computer to the remote server and append it to the authorized_keys file, which is used for public key authentication. This tool will also create the necessary directories and files on the remote server if they do not exist. The other tools are either not suitable or not relevant for this task.

For example:

A. scp is a tool for securely copying files between hosts, but it does not automatically add the public key to the authorized_keys file.

C. ssh-agent is a tool for managing private keys and passphrases, but it does not upload the public key to the remote server.

D. ssh-keyscan is a tool for collecting public keys from remote hosts, but it does not upload the public key to the remote server.

Latest XK0-005 Dumps Valid Version with 136 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments