summaryrefslogtreecommitdiff
path: root/security/openssh-portable/files/patch-ssh-agent.1
blob: d44465be31240cdfdb7f5371ae5a7c84271955da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- UTC
r226103 | des | 2011-10-07 08:10:16 -0500 (Fri, 07 Oct 2011) | 5 lines

Add a -x option that causes ssh-agent(1) to exit when all clients have
disconnected.

--- ssh-agent.1.orig	2025-10-05 19:25:16.000000000 -0700
+++ ssh-agent.1	2025-10-06 08:30:26.521757000 -0700
@@ -43,7 +43,7 @@
 .Sh SYNOPSIS
 .Nm ssh-agent
 .Op Fl c | s
-.Op Fl \&DdTU
+.Op Fl \&DdTUx
 .Op Fl a Ar bind_address
 .Op Fl E Ar fingerprint_hash
 .Op Fl O Ar option
@@ -203,6 +203,8 @@ will delete stale agent sockets regardless of the host
 If this option is given twice,
 .Nm
 will delete stale agent sockets regardless of the host name that created them.
+.It Fl x
+Exit after the last client has disconnected.
 .It Ar command Op Ar arg ...
 If a command (and optional arguments) is given,
 this is executed as a subprocess of the agent.