From c779c21a447d00dc93d07de01291e96bda29a1eb Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Thu, 19 Mar 2020 05:34:52 -0500 Subject: [PATCH] ssh-agent: add page (#3907) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Starbeamrainbowlabs Co-authored-by: Zlatan Vasović --- pages/common/ssh-agent.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/common/ssh-agent.md diff --git a/pages/common/ssh-agent.md b/pages/common/ssh-agent.md new file mode 100644 index 0000000000..70a9701fb8 --- /dev/null +++ b/pages/common/ssh-agent.md @@ -0,0 +1,13 @@ +# 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. + +- Start an SSH Agent for the current shell: + +`eval $(ssh-agent)` + +- Kill the currently running agent: + +`ssh-agent -k`