summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-agent.1
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2003-01-21 18:14:37 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2003-01-21 18:14:37 +0000
commit787b4813ae85d2a0e7158dcc401850f12af34614 (patch)
treebae09a178affef8e949da5f7987d79b6e5efb9ce /usr.bin/ssh/ssh-agent.1
parente4848b74cb22013749cf3117dafb0d77f22eb09e (diff)
Add a -t life option to ssh-agent that set the default lifetime.
The default can still be overriden by using -t in ssh-add. OK markus@
Diffstat (limited to 'usr.bin/ssh/ssh-agent.1')
-rw-r--r--usr.bin/ssh/ssh-agent.111
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-agent.1 b/usr.bin/ssh/ssh-agent.1
index 0227436c171..98f9dc80dd6 100644
--- a/usr.bin/ssh/ssh-agent.1
+++ b/usr.bin/ssh/ssh-agent.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ssh-agent.1,v 1.35 2002/06/24 13:12:23 markus Exp $
+.\" $OpenBSD: ssh-agent.1,v 1.36 2003/01/21 18:14:36 marc Exp $
.\"
.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -44,6 +44,7 @@
.Nm ssh-agent
.Op Fl a Ar bind_address
.Op Fl c Li | Fl s
+.Op Fl t Ar life
.Op Fl d
.Op Ar command Op Ar args ...
.Nm ssh-agent
@@ -86,6 +87,14 @@ does not look like it's a csh style of shell.
Kill the current agent (given by the
.Ev SSH_AGENT_PID
environment variable).
+.It Fl t Ar life
+Set a default value for the maximum lifetime of identities added to the agent.
+The lifetime may be specified in seconds or in a time format specified in
+.Xr sshd 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 d
Debug mode. When this option is specified
.Nm