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 829c85445..7e8936262 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.
@@ -105,17 +112,17 @@ If no public key is found at a given path,
105will append 112will append
106.Pa .pub 113.Pa .pub
107and retry. 114and retry.
108.It Fl e Ar reader 115.It Fl e Ar pkcs11
109Remove key in smartcard 116Remove keys provided by the PKCS#11 shared library
110.Ar reader . 117.Ar pkcs11 .
111.It Fl L 118.It Fl L
112Lists public key parameters of all identities currently represented 119Lists public key parameters of all identities currently represented
113by the agent. 120by the agent.
114.It Fl l 121.It Fl l
115Lists fingerprints of all identities currently represented by the agent. 122Lists fingerprints of all identities currently represented by the agent.
116.It Fl s Ar reader 123.It Fl s Ar pkcs11
117Add key in smartcard 124Add keys provided by the PKCS#11 shared library
118.Ar reader . 125.Ar pkcs11 .
119.It Fl t Ar life 126.It Fl t Ar life
120Set a maximum lifetime when adding identities to an agent. 127Set a maximum lifetime when adding identities to an agent.
121The lifetime may be specified in seconds or in a time format 128The lifetime may be specified in seconds or in a time format
@@ -152,8 +159,9 @@ may be necessary to redirect the input from
152.Pa /dev/null 159.Pa /dev/null
153to make this work.) 160to make this work.)
154.It Ev SSH_AUTH_SOCK 161.It Ev SSH_AUTH_SOCK
155Identifies the path of a unix-domain socket used to communicate with the 162Identifies the path of a
156agent. 163.Ux Ns -domain
164socket used to communicate with the agent.
157.El 165.El
158.Sh FILES 166.Sh FILES
159.Bl -tag -width Ds 167.Bl -tag -width Ds