XK0-005 · Question #687
A Linux administrator created a virtual clone of a physical server and would like to remove any existing entries related to SSH keys from outside entities on the virtual clone. Which of the…
The correct answer is A. ~/.ssh/authorized_keys B. ~/.ssh/known_hosts. The ~/.ssh/authorized_keys file contains SSH public keys that grant access to the user account. Removing this file ensures that no external entities can log in using previously authorized keys. The ~/.ssh/known_hosts file stores fingerprints of previously connected hosts…
Question
A Linux administrator created a virtual clone of a physical server and would like to remove any existing entries related to SSH keys from outside entities on the virtual clone. Which of the following files should the administrator remove? (Choose two.)
Options
- A~/.ssh/authorized_keys
- B~/.ssh/known_hosts
- C/etc/ssh/ssh_config
- D~/.ssh/config
- E/etc/ssh/sshd_config
- F/etc/ssh/ssh_host_rsa_key.pub
How the community answered
(39 responses)- A95% (37)
- D3% (1)
- E3% (1)
Explanation
The ~/.ssh/authorized_keys file contains SSH public keys that grant access to the user account. Removing this file ensures that no external entities can log in using previously authorized keys. The ~/.ssh/known_hosts file stores fingerprints of previously connected hosts. Removing this file ensures that SSH doesn't trust any previously connected hosts.
Topics
Community Discussion
No community discussion yet for this question.