nerdexam
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)
  • A
    5% (3)
  • B
    4% (2)
  • C
    11% (6)
  • D
    78% (43)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 117-202 Practice