XK0-005 · Question #188
A junior systems administrator has generated a PKI certificate for SSH sessions. The administrator would like to configure authentication without passwords to remote systems. Which of the following…
The correct answer is A. Add the content of id_rsa.pub file to the remote system ~/.ssh/authorized_keys location. You always keep your private key and only share your public key. If the remote system is not configured to support password-based authentication, you will need to ask system administrators to add your public key to the ~/.ssh/authorized_keys file in your Your private key will…
Question
A junior systems administrator has generated a PKI certificate for SSH sessions. The administrator would like to configure authentication without passwords to remote systems. Which of the following should the administrator perform?
Options
- AAdd the content of id_rsa.pub file to the remote system ~/.ssh/authorized_keys location.
- BAdd the content of id_rsa file to the remote system ~/.ssh/authorized_keys location.
- CAdd the content of id_rsa file to the remote system ~/.ssh/known_hosts location.
- DAdd the content of id_rsa.pub file to the remote system ~/.ssh/known_hosts location.
How the community answered
(46 responses)- A80% (37)
- B4% (2)
- C4% (2)
- D11% (5)
Explanation
You always keep your private key and only share your public key. If the remote system is not configured to support password-based authentication, you will need to ask system administrators to add your public key to the ~/.ssh/authorized_keys file in your Your private key will be generated using the default filename (for example, id_rsa) or the filename you specified (for example, my_ssh_key), and stored on your computer in a .ssh directory off your home directory (for example, ~/.ssh/id_rsa or ~/.ssh/my_ssh_key). The corresponding public key will be generated using the same filename (but with a .pub extension added) and stored in the same location (for example, ~/.ssh/id_rsa.pub or ~/.ssh/my_ssh_key.pub).
Topics
Community Discussion
No community discussion yet for this question.