102-500 · Question #25
Which of the following commands preloads and manages existing SSH keys that are used for automatic authentication while logging in to order machines using SSH?
The correct answer is C. ssh-keygen. There appears to be an error in the provided answer key - the correct answer is actually E. ssh-agent, not C. ssh-agent is a background process that holds decrypted private SSH keys in memory and provides them automatically to SSH connections, enabling passwordless (or…
Question
Options
- Asshd
- Bssh-keyring
- Cssh-keygen
- Dssh-pki
- Essh-agent
How the community answered
(39 responses)- A5% (2)
- B8% (3)
- C82% (32)
- D3% (1)
- E3% (1)
Explanation
There appears to be an error in the provided answer key - the correct answer is actually E. ssh-agent, not C.
ssh-agent is a background process that holds decrypted private SSH keys in memory and provides them automatically to SSH connections, enabling passwordless (or passphrase-free) authentication to remote machines without re-entering credentials each session. You load keys into it via ssh-add, and it manages them for the duration of your session.
The distractors are wrong for these reasons:
- A. sshd is the SSH daemon (server), which listens for incoming connections - it's the remote side, not the key management utility.
- B. ssh-keyring is not a real standard SSH command.
- C. ssh-keygen generates new SSH key pairs (public/private); it does not preload or manage existing keys for authentication.
- D. ssh-pki is not a standard SSH utility.
Memory tip: Think of ssh-agent as a keychain holder - it holds your keys so you don't have to dig them out every time. The "agent" acts on your behalf. Contrast with ssh-keygen (keygen = generate = create new keys) and sshd (the d stands for daemon, the server).
Note for exam takers: If your exam marks C as correct, flag it - the description ("preloads and manages existing SSH keys") definitively describes
ssh-agent, notssh-keygen.
Topics
Community Discussion
No community discussion yet for this question.