diff options
author | des <des@FreeBSD.org> | 2011-10-07 13:10:16 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2011-10-07 13:10:16 +0000 |
commit | 0caa0a85dd00ad53818b9cc641579462e69fd198 (patch) | |
tree | 5cebfa85b7bf7d8091f2779f2f3f947a6ea76d2e /crypto/openssh/ssh-agent.1 | |
parent | c5fa84a4783cf66dc551a47a6d2fce6d17b825a3 (diff) | |
download | FreeBSD-src-0caa0a85dd00ad53818b9cc641579462e69fd198.zip FreeBSD-src-0caa0a85dd00ad53818b9cc641579462e69fd198.tar.gz |
Add a -x option that causes ssh-agent(1) to exit when all clients have
disconnected.
MFC after: 1 week
Diffstat (limited to 'crypto/openssh/ssh-agent.1')
-rw-r--r-- | crypto/openssh/ssh-agent.1 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/openssh/ssh-agent.1 b/crypto/openssh/ssh-agent.1 index 7f4942f..b144615 100644 --- a/crypto/openssh/ssh-agent.1 +++ b/crypto/openssh/ssh-agent.1 @@ -44,7 +44,7 @@ .Sh SYNOPSIS .Nm ssh-agent .Op Fl c | s -.Op Fl d +.Op Fl dx .Op Fl a Ar bind_address .Op Fl t Ar life .Op Ar command Op Ar arg ... @@ -103,6 +103,8 @@ A lifetime specified for an identity with .Xr ssh-add 1 overrides this value. Without this option the default maximum lifetime is forever. +.It Fl x +Exit after the last client has disconnected. .El .Pp If a commandline is given, this is executed as a subprocess of the agent. |