summaryrefslogtreecommitdiff
path: root/ssh-add.1
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.1')
-rw-r--r--ssh-add.147
1 files changed, 24 insertions, 23 deletions
diff --git a/ssh-add.1 b/ssh-add.1
index 6348197b3..1f3df5bec 100644
--- a/ssh-add.1
+++ b/ssh-add.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-add.1,v 1.40 2003/11/25 23:10:08 matthieu Exp $ 1.\" $OpenBSD: ssh-add.1,v 1.42 2005/03/01 17:32:19 jmc Exp $
2.\" 2.\"
3.\" -*- nroff -*- 3.\" -*- nroff -*-
4.\" 4.\"
@@ -45,7 +45,7 @@
45.Nd adds RSA or DSA identities to the authentication agent 45.Nd adds RSA or DSA identities to the authentication agent
46.Sh SYNOPSIS 46.Sh SYNOPSIS
47.Nm ssh-add 47.Nm ssh-add
48.Op Fl lLdDxXc 48.Op Fl cDdLlXx
49.Op Fl t Ar life 49.Op Fl t Ar life
50.Op Ar 50.Op Ar
51.Nm ssh-add 51.Nm ssh-add
@@ -77,23 +77,6 @@ to work.
77.Pp 77.Pp
78The options are as follows: 78The options are as follows:
79.Bl -tag -width Ds 79.Bl -tag -width Ds
80.It Fl l
81Lists fingerprints of all identities currently represented by the agent.
82.It Fl L
83Lists public key parameters of all identities currently represented by the agent.
84.It Fl d
85Instead of adding the identity, removes the identity from the agent.
86.It Fl D
87Deletes all identities from the agent.
88.It Fl x
89Lock the agent with a password.
90.It Fl X
91Unlock the agent.
92.It Fl t Ar life
93Set a maximum lifetime when adding identities to an agent.
94The lifetime may be specified in seconds or in a time format
95specified in
96.Xr sshd_config 5 .
97.It Fl c 80.It Fl c
98Indicates that added identities should be subject to confirmation before 81Indicates that added identities should be subject to confirmation before
99being used for authentication. 82being used for authentication.
@@ -103,12 +86,30 @@ program mentioned below.
103Successful confirmation is signaled by a zero exit status from the 86Successful confirmation is signaled by a zero exit status from the
104.Ev SSH_ASKPASS 87.Ev SSH_ASKPASS
105program, rather than text entered into the requester. 88program, rather than text entered into the requester.
106.It Fl s Ar reader 89.It Fl D
107Add key in smartcard 90Deletes all identities from the agent.
108.Ar reader . 91.It Fl d
92Instead of adding the identity, removes the identity from the agent.
109.It Fl e Ar reader 93.It Fl e Ar reader
110Remove key in smartcard 94Remove key in smartcard
111.Ar reader . 95.Ar reader .
96.It Fl L
97Lists public key parameters of all identities currently represented
98by the agent.
99.It Fl l
100Lists fingerprints of all identities currently represented by the agent.
101.It Fl s Ar reader
102Add key in smartcard
103.Ar reader .
104.It Fl t Ar life
105Set a maximum lifetime when adding identities to an agent.
106The lifetime may be specified in seconds or in a time format
107specified in
108.Xr sshd_config 5 .
109.It Fl X
110Unlock the agent.
111.It Fl x
112Lock the agent with a password.
112.El 113.El
113.Sh ENVIRONMENT 114.Sh ENVIRONMENT
114.Bl -tag -width Ds 115.Bl -tag -width Ds
@@ -129,7 +130,7 @@ and open an X11 window to read the passphrase.
129This is particularly useful when calling 130This is particularly useful when calling
130.Nm 131.Nm
131from a 132from a
132.Pa .Xsession 133.Pa .xsession
133or related script. 134or related script.
134(Note that on some machines it 135(Note that on some machines it
135may be necessary to redirect the input from 136may be necessary to redirect the input from