CompTIA
XK0-004 · Question #512
A user creates a key pair to configure RSA authentication on a Linux server. Which of the following should the user do NEXT?
The correct answer is A. Copy the id_rsa.pub file contents to the server. id_rsa is the private key. You should copy the public key, wich is id_rsa.pub.
Security
Question
A user creates a key pair to configure RSA authentication on a Linux server. Which of the following should the user do NEXT?
Options
- ACopy the id_rsa.pub file contents to the server
- BCopy the id_rsa file contents to the server
- CUse ssh-add to install the id_rsa.pub on the client
- DCopy the known_hosts file contents to the client
- ECopy the known_hosts file contents to the server
How the community answered
(16 responses)- A94% (15)
- E6% (1)
Explanation
id_rsa is the private key. You should copy the public key, wich is id_rsa.pub.
Topics
#SSH key pair#RSA authentication#public key distribution#authorized_keys
Community Discussion
No community discussion yet for this question.