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?
A.
Add the content of id_rsa.pub file to the remote system ~/.ssh/authorized_keys location.
B.
Add the content of id_rsa file to the remote system ~/.ssh/authorized_keys location.
C.
Add the content of id_rsa file to the remote system ~/.ssh/known_hosts location.
D.
Add the content of id_rsa.pub file to the remote system ~/.ssh/known_hosts location.
Correct. 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 account
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).
I really like your explanation Dan. How did the test go?
upvoted 3 times
...
...
...
This section is not available anymore. Please use the main Exam Page.XK0-004 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Dan_Dan_The_Data_Center_Man
3 years, 7 months agoDan_Dan_The_Data_Center_Man
3 years, 7 months agoDidi31
3 years, 4 months ago