nerdexam
CompTIA

XK0-004 · Question #303

Which of the following default files are typically used to contain a list of public keys from other computers? (Choose two.)

The correct answer is A. ~/.ssh/authorized_keys D. ~/.ssh/known_hosts. The OpenSSH application keeps track of any previously connected hosts in the ~/.ssh/known_hosts file. This data contains the remote servers’ public keys. The id_rsa.pub key file is securely copied to the server system, and the key is installed in the ~/.ssh/authorized_keys file

Security

Question

Which of the following default files are typically used to contain a list of public keys from other computers? (Choose two.)

Options

  • A~/.ssh/authorized_keys
  • C~/.ssh/id_dsa.pub
  • D~/.ssh/known_hosts
  • F~/.ssh/id_rsa.pub

How the community answered

(59 responses)
  • A
    95% (56)
  • C
    2% (1)
  • F
    3% (2)

Explanation

The OpenSSH application keeps track of any previously connected hosts in the ~/.ssh/known_hosts file. This data contains the remote servers’ public keys. The id_rsa.pub key file is securely copied to the server system, and the key is installed in the ~/.ssh/authorized_keys file

Topics

#SSH keys#authorized_keys#known_hosts#public key authentication

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice