summaryrefslogtreecommitdiff
path: root/ssh-add.1
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.1')
-rw-r--r--ssh-add.132
1 files changed, 20 insertions, 12 deletions
diff --git a/ssh-add.1 b/ssh-add.1
index 005041b68..d7cc53101 100644
--- a/ssh-add.1
+++ b/ssh-add.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-add.1,v 1.46 2007/06/12 13:41:03 jmc Exp $ 1.\" $OpenBSD: ssh-add.1,v 1.52 2010/03/05 10:28:21 djm Exp $
2.\" 2.\"
3.\" -*- nroff -*- 3.\" -*- nroff -*-
4.\" 4.\"
@@ -37,7 +37,7 @@
37.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 37.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
38.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 38.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39.\" 39.\"
40.Dd $Mdocdate: June 12 2007 $ 40.Dd $Mdocdate: March 5 2010 $
41.Dt SSH-ADD 1 41.Dt SSH-ADD 1
42.Os 42.Os
43.Sh NAME 43.Sh NAME
@@ -49,9 +49,9 @@
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
52.Fl s Ar reader 52.Fl s Ar pkcs11
53.Nm ssh-add 53.Nm ssh-add
54.Fl e Ar reader 54.Fl e Ar pkcs11
55.Sh DESCRIPTION 55.Sh DESCRIPTION
56.Nm 56.Nm
57adds RSA or DSA identities to the authentication agent, 57adds RSA or DSA identities to the authentication agent,
@@ -61,7 +61,14 @@ When run without arguments, it adds the files
61.Pa ~/.ssh/id_dsa 61.Pa ~/.ssh/id_dsa
62and 62and
63.Pa ~/.ssh/identity . 63.Pa ~/.ssh/identity .
64After loading a private key,
65.Nm
66will try to load corresponding certificate information from the
67filename obtained by appending
68.Pa -cert.pub
69to the name of the private key file.
64Alternative file names can be given on the command line. 70Alternative file names can be given on the command line.
71.Pp
65If any file requires a passphrase, 72If any file requires a passphrase,
66.Nm 73.Nm
67asks for the passphrase from the user. 74asks for the passphrase from the user.
@@ -101,17 +108,17 @@ If no public key is found at a given path,
101will append 108will append
102.Pa .pub 109.Pa .pub
103and retry. 110and retry.
104.It Fl e Ar reader 111.It Fl e Ar pkcs11
105Remove key in smartcard 112Remove keys provided by the PKCS#11 shared library
106.Ar reader . 113.Ar pkcs11 .
107.It Fl L 114.It Fl L
108Lists public key parameters of all identities currently represented 115Lists public key parameters of all identities currently represented
109by the agent. 116by the agent.
110.It Fl l 117.It Fl l
111Lists fingerprints of all identities currently represented by the agent. 118Lists fingerprints of all identities currently represented by the agent.
112.It Fl s Ar reader 119.It Fl s Ar pkcs11
113Add key in smartcard 120Add keys provided by the PKCS#11 shared library
114.Ar reader . 121.Ar pkcs11 .
115.It Fl t Ar life 122.It Fl t Ar life
116Set a maximum lifetime when adding identities to an agent. 123Set a maximum lifetime when adding identities to an agent.
117The lifetime may be specified in seconds or in a time format 124The lifetime may be specified in seconds or in a time format
@@ -148,8 +155,9 @@ may be necessary to redirect the input from
148.Pa /dev/null 155.Pa /dev/null
149to make this work.) 156to make this work.)
150.It Ev SSH_AUTH_SOCK 157.It Ev SSH_AUTH_SOCK
151Identifies the path of a unix-domain socket used to communicate with the 158Identifies the path of a
152agent. 159.Ux Ns -domain
160socket used to communicate with the agent.
153.El 161.El
154.Sh FILES 162.Sh FILES
155.Bl -tag -width Ds 163.Bl -tag -width Ds