CompTIA Linux+ Powered by LPI (LX0-104) — Question 19

Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

Answer options

Correct answer: B

Explanation

The correct answer is B, ssh-agent, as it is specifically designed to manage SSH keys for automatic authentication. Option A, sshd, is the SSH server daemon and does not manage keys. Option C, ssh-keygen, is used for generating SSH keys, while option D, ssh-add, adds keys to the agent but does not manage them.