LPI
117-202 · 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
(55 responses)- A5% (3)
- B4% (2)
- C11% (6)
- D78% (43)
- E2% (1)
Community Discussion
No community discussion yet for this question.