ssh-agent
Spawn an SSH Agent process.
An SSH Agent holds SSH keys decrypted in memory until removed or the process is killed.
See also ssh-add
, which can add and manage keys held by an SSH Agent.
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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.