mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
20 lines
431 B
Plaintext
20 lines
431 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ssh-agent
|
|
|
|
> Spawn an SSH Agent process.
|
|
> Note: An SSH Agent holds SSH keys decrypted in memory until removed or the process is killed.
|
|
> See also: `ssh-add`.
|
|
> 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`
|