LPI
202-400 · Question #147
What must be done on a host to allow a user to log in to that host using an SSH key?
The correct answer is D. Add their public key to ~/. ssh/authorized_keys. See the full explanation below for the reasoning.
Question
What must be done on a host to allow a user to log in to that host using an SSH key?
Options
- AAdd their private key to ~/. ssh/authorized_keys
- BReference their public key in ~/. ssh/config
- CRun ssh-agent on that host
- DAdd their public key to ~/. ssh/authorized_keys
- EReference their private key in ~/. ssh/config
How the community answered
(49 responses)- A2% (1)
- B4% (2)
- C12% (6)
- D76% (37)
- E6% (3)
Community Discussion
No community discussion yet for this question.