commands

ssh-agent — Manage a private authentication agent

Start a signing agent with a sensitive local socket. With a command, the agent normally exits when that command terminates. Avoid agent forwarding by default. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
ssh-agent [COMMAND [ARGUMENTS]]

Parameters & Attributes

NameTypeDescription
COMMANDoperandChild command

Return Value

exit status and output

Start a signing agent with a sensitive local socket. With a command, the agent normally exits when that command terminates. Avoid agent forwarding by default.

Working Example

Example Snippetlinux
ssh-agent bash --noprofile --norc -c "ssh-add -l"
Linux Reference