Deleted Added
full compact
1.\" $OpenBSD: ssh-add.1,v 1.38 2003/03/28 10:11:43 jmc Exp $
1.\" $OpenBSD: ssh-add.1,v 1.39 2003/06/10 09:12:11 jmc Exp $
2.\"
3.\" -*- nroff -*-
4.\"
5.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
6.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7.\" All rights reserved
8.\"
9.\" As far as I am concerned, the code I have written for this software

--- 94 unchanged lines hidden (view full) ---

104program, rather than text entered into the requester.
105.It Fl s Ar reader
106Add key in smartcard
107.Ar reader .
108.It Fl e Ar reader
109Remove key in smartcard
110.Ar reader .
111.El
112.Sh FILES
113.Bl -tag -width Ds
114.It Pa $HOME/.ssh/identity
115Contains the protocol version 1 RSA authentication identity of the user.
116.It Pa $HOME/.ssh/id_dsa
117Contains the protocol version 2 DSA authentication identity of the user.
118.It Pa $HOME/.ssh/id_rsa
119Contains the protocol version 2 RSA authentication identity of the user.
120.El
121.Pp
122Identity files should not be readable by anyone but the user.
123Note that
124.Nm
125ignores identity files if they are accessible by others.
112.Sh ENVIRONMENT
113.Bl -tag -width Ds
114.It Ev "DISPLAY" and "SSH_ASKPASS"
115If
116.Nm
117needs a passphrase, it will read the passphrase from the current
118terminal if it was run from a terminal.
119If

--- 13 unchanged lines hidden (view full) ---

133(Note that on some machines it
134may be necessary to redirect the input from
135.Pa /dev/null
136to make this work.)
137.It Ev SSH_AUTH_SOCK
138Identifies the path of a unix-domain socket used to communicate with the
139agent.
140.El
141.Sh FILES
142.Bl -tag -width Ds
143.It Pa $HOME/.ssh/identity
144Contains the protocol version 1 RSA authentication identity of the user.
145.It Pa $HOME/.ssh/id_dsa
146Contains the protocol version 2 DSA authentication identity of the user.
147.It Pa $HOME/.ssh/id_rsa
148Contains the protocol version 2 RSA authentication identity of the user.
149.El
150.Pp
151Identity files should not be readable by anyone but the user.
152Note that
153.Nm
154ignores identity files if they are accessible by others.
155.Sh DIAGNOSTICS
156Exit status is 0 on success, 1 if the specified command fails,
157and 2 if
158.Nm
159is unable to contact the authentication agent.
160.Sh SEE ALSO
161.Xr ssh 1 ,
162.Xr ssh-agent 1 ,
163.Xr ssh-keygen 1 ,
164.Xr sshd 8
165.Sh AUTHORS
166OpenSSH is a derivative of the original and free
167ssh 1.2.12 release by Tatu Ylonen.
168Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
169Theo de Raadt and Dug Song
170removed many bugs, re-added newer features and
171created OpenSSH.
172Markus Friedl contributed the support for SSH
173protocol versions 1.5 and 2.0.
169.Sh SEE ALSO
170.Xr ssh 1 ,
171.Xr ssh-agent 1 ,
172.Xr ssh-keygen 1 ,
173.Xr sshd 8