nerdexam
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)
  • A
    2% (1)
  • B
    4% (2)
  • C
    12% (6)
  • D
    76% (37)
  • E
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice