Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 4 Question 55 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 55
Topic #: 4
[All XK0-005 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

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.


Contribute your Thoughts:

Azzie
8 days ago
I agree with Nelida, ssh-copy-id is the best tool for uploading the key.
upvoted 0 times
...
Fernanda
10 days ago
B) ssh-copy-id is the way to go! It's like a one-stop-shop for uploading your key to remote servers. Easy peasy!
upvoted 0 times
...
Nelida
11 days ago
I think the answer is B) ssh-copy-id.
upvoted 0 times
...

Save Cancel