CompTIA
XK0-004 · Question #303
XK0-004 Question #303: Real Exam Question with Answer & Explanation
The correct answer is A: ~/.ssh/authorized_keys. The OpenSSH application keeps track of any previously connected hosts in the ~/.ssh/known_hosts file. This data contains the remote servers’ public keys. The id_rsa.pub key file is securely copied to the server system, and the key is installed in the ~/.ssh/authorized_keys file
Question
Which of the following default files are typically used to contain a list of public keys from other computers? (Choose two.)
Options
- A~/.ssh/authorized_keys
- C~/.ssh/id_dsa.pub
- D~/.ssh/known_hosts
- F~/.ssh/id_rsa.pub
Explanation
The OpenSSH application keeps track of any previously connected hosts in the ~/.ssh/known_hosts file. This data contains the remote servers’ public keys. The id_rsa.pub key file is securely copied to the server system, and the key is installed in the ~/.ssh/authorized_keys file
Community Discussion
No community discussion yet for this question.