2025-03-14 21:59:59 -06:00
|
|
|
# ssh-agent
|
|
|
|
|
|
|
|
|
|
> Spawn an SSH Agent process.
|
2026-02-18 06:55:01 -07:00
|
|
|
> Note: An SSH Agent holds SSH keys decrypted in memory until removed or the process is killed.
|
|
|
|
|
> See also: `ssh-add`.
|
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`
|