nerdexam
ExamsXK0-004Questions#188
CompTIA

XK0-004 · Question #188

XK0-004 Question #188: Real Exam Question with Answer & Explanation

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 be

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.

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).

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice