Linux_FoundationLinux_Foundation
LFCS · Question #80
LFCS Question #80: Real Exam Question with Answer & Explanation
The correct answer is B: ssh-agent. The ssh-agent command runs a background program that holds private keys used for public key authentication, allowing users to authenticate without re-entering passphrases.
Submitted by fatima_kr· Apr 18, 2026Networking
Question
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
Options
- Asshd
- Bssh-agent
- Cssh-keygen
- Dssh-add
Explanation
The ssh-agent command runs a background program that holds private keys used for public key authentication, allowing users to authenticate without re-entering passphrases.
Common mistakes.
- A.
sshdis the OpenSSH server daemon that listens for incoming SSH connections, not a client-side tool for managing authentication keys. - C.
ssh-keygenis used to generate, manage, and convert authentication keys for SSH, but it does not preload or manage them for a running session. - D.
ssh-addis used to add private key identities to the authentication agent (ssh-agent), but thessh-agentitself is the program that manages and preloads these keys.
Concept tested. SSH key management (agent)
Reference. https://man7.org/linux/man-pages/man1/ssh-agent.1.html
Topics
#SSH#Authentication#Key Management
Community Discussion
No community discussion yet for this question.