ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 13 - XK0-005 discussion

Report
Export

A junior systems administrator has just generated public and private authentication keys for passwordless login. Which of the following files will be moved to the remote servers?

A.
id_dsa.pem
Answers
A.
id_dsa.pem
B.
id_rsa
Answers
B.
id_rsa
C.
id_ecdsa
Answers
C.
id_ecdsa
D.
id_rsa.pub
Answers
D.
id_rsa.pub
Suggested answer: D

Explanation:

The file id_rsa.pub will be moved to the remote servers for passwordless login. The id_rsa.pub file is the public authentication key that is generated by the ssh-keygen command. The public key can be copied to the remote servers by using the ssh-copy-id command or manually. The remote servers will use the public key to authenticate the user who has the corresponding private key (id_rsa). This will allow the user to log in without entering a password. The other options are incorrect because they are either private keys (id_rsa, id_dsa.pem, or id_ecdsa) or non-existent files (id_dsa.pem or id_ecdsa). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 13: Managing Network Services, page 410.

asked 02/10/2024
Duc Hai
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first