2025-03-14 21:59:59 -06:00
|
|
|
# ssh-agent
|
|
|
|
|
|
|
|
|
|
> Spawn an SSH Agent process.
|
|
|
|
|
> An SSH Agent holds SSH keys decrypted in memory until removed or the process is killed.
|
2025-09-14 18:48:49 -06:00
|
|
|
> See also: `ssh-add`, which can add and manage keys held by an SSH Agent.
|
2025-03-14 21:59:59 -06:00
|
|
|
> More information: <https://man.openbsd.org/ssh-agent>.
|
|
|
|
|
|
|
|
|
|
- Start an SSH Agent for the current shell:
|
|
|
|
|
|
|
|
|
|
`eval $(ssh-agent)`
|
|
|
|
|
|
|
|
|
|
- Kill the currently running agent:
|
|
|
|
|
|
|
|
|
|
`ssh-agent -k`
|