New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA XK0-005 Exam - Topic 1 Question 59 Discussion

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

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?

Show Suggested Answer Hide Answer
Suggested Answer: D

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 thessh-keygencommand. The public key can be copied to the remote servers by using thessh-copy-idcommand 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).:CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 13: Managing Network Services, page 410.


Contribute your Thoughts:

0/2000 characters
Sueann
20 hours ago
Wait, are we sure it's not id_dsa.pem?
upvoted 0 times
...
Dannie
6 days ago
Agreed, the public key is what you share!
upvoted 0 times
...
Billi
11 days ago
I always get these SSH key questions mixed up. Maybe I should just use a password instead, less hassle.
upvoted 0 times
...
Sue
16 days ago
D) id_rsa.pub is the way to go. Gotta love that passwordless login!
upvoted 0 times
...
Wilford
21 days ago
D) id_rsa.pub is the correct answer. The public key file is the one that needs to be shared with the remote servers.
upvoted 0 times
...
Juan
27 days ago
I thought it could be any of the public keys, but I guess D is the most common one. I hope I’m right!
upvoted 0 times
...
Javier
1 month ago
I’m a bit confused about the different key types, but I feel like it’s definitely the public key that gets transferred. Is it always id_rsa.pub?
upvoted 0 times
...
Kenneth
1 month ago
I remember practicing a similar question, and I think the private key stays on the local machine. So, it must be D as well.
upvoted 0 times
...
Selene
1 month ago
I think the public key is the one that gets moved to the remote server, so maybe it's D? But I'm not completely sure.
upvoted 0 times
...
Renato
2 months ago
Based on my understanding, the public key file, id_rsa.pub, is the one that needs to be moved to the remote servers for passwordless authentication. The private key, id_rsa, should be kept secure on the local system.
upvoted 0 times
...
German
2 months ago
I'm not entirely sure about this one. I know the public key is shared, but I'm not certain which file format it would be - id_rsa.pub, id_dsa.pem, or id_ecdsa. I'll need to double-check the details on that.
upvoted 0 times
...
Margart
2 months ago
Okay, let me think this through. The private key, like id_rsa, should stay local for security. The public key, id_rsa.pub, is the one that gets shared with the remote servers for passwordless login. I'm pretty confident that's the right approach.
upvoted 0 times
...
Jarvis
2 months ago
It's definitely id_rsa.pub that gets moved.
upvoted 0 times
...
Camellia
2 months ago
B) id_rsa is the correct answer. The public key file is the one that needs to be moved to the remote servers.
upvoted 0 times
...
Renay
3 months ago
Hmm, I thought the private key file was the one that needed to be shared. Guess I need to brush up on my SSH key management.
upvoted 0 times
...
Yasuko
3 months ago
I'm a bit confused here. Is it just the public key that gets moved, or do we need to move both the public and private keys?
upvoted 0 times
...
Hester
3 months ago
Hmm, this seems straightforward. I think the public key file, id_rsa.pub, would need to be moved to the remote servers.
upvoted 0 times
Felicitas
2 months ago
Definitely, id_rsa.pub is the right choice.
upvoted 0 times
...
Mayra
3 months ago
I agree, the public key is the one that gets shared.
upvoted 0 times
...
...

Save Cancel