summaryrefslogtreecommitdiff
path: root/ssh-add.1
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.1')
-rw-r--r--ssh-add.117
1 files changed, 9 insertions, 8 deletions
diff --git a/ssh-add.1 b/ssh-add.1
index d7cc53101..fd48ff98f 100644
--- a/ssh-add.1
+++ b/ssh-add.1
@@ -1,6 +1,4 @@
1.\" $OpenBSD: ssh-add.1,v 1.52 2010/03/05 10:28:21 djm Exp $ 1.\" $OpenBSD: ssh-add.1,v 1.55 2010/10/28 18:33:28 jmc Exp $
2.\"
3.\" -*- nroff -*-
4.\" 2.\"
5.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
6.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -37,12 +35,12 @@
37.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35.\" (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. 36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39.\" 37.\"
40.Dd $Mdocdate: March 5 2010 $ 38.Dd $Mdocdate: October 28 2010 $
41.Dt SSH-ADD 1 39.Dt SSH-ADD 1
42.Os 40.Os
43.Sh NAME 41.Sh NAME
44.Nm ssh-add 42.Nm ssh-add
45.Nd adds RSA or DSA identities to the authentication agent 43.Nd adds private key identities to the authentication agent
46.Sh SYNOPSIS 44.Sh SYNOPSIS
47.Nm ssh-add 45.Nm ssh-add
48.Op Fl cDdLlXx 46.Op Fl cDdLlXx
@@ -54,11 +52,12 @@
54.Fl e Ar pkcs11 52.Fl e Ar pkcs11
55.Sh DESCRIPTION 53.Sh DESCRIPTION
56.Nm 54.Nm
57adds RSA or DSA identities to the authentication agent, 55adds private key identities to the authentication agent,
58.Xr ssh-agent 1 . 56.Xr ssh-agent 1 .
59When run without arguments, it adds the files 57When run without arguments, it adds the files
60.Pa ~/.ssh/id_rsa , 58.Pa ~/.ssh/id_rsa ,
61.Pa ~/.ssh/id_dsa 59.Pa ~/.ssh/id_dsa ,
60.Pa ~/.ssh/id_ecdsa
62and 61and
63.Pa ~/.ssh/identity . 62.Pa ~/.ssh/identity .
64After loading a private key, 63After loading a private key,
@@ -165,6 +164,8 @@ socket used to communicate with the agent.
165Contains the protocol version 1 RSA authentication identity of the user. 164Contains the protocol version 1 RSA authentication identity of the user.
166.It Pa ~/.ssh/id_dsa 165.It Pa ~/.ssh/id_dsa
167Contains the protocol version 2 DSA authentication identity of the user. 166Contains the protocol version 2 DSA authentication identity of the user.
167.It Pa ~/.ssh/id_ecdsa
168Contains the protocol version 2 ECDSA authentication identity of the user.
168.It Pa ~/.ssh/id_rsa 169.It Pa ~/.ssh/id_rsa
169Contains the protocol version 2 RSA authentication identity of the user. 170Contains the protocol version 2 RSA authentication identity of the user.
170.El 171.El
@@ -173,7 +174,7 @@ Identity files should not be readable by anyone but the user.
173Note that 174Note that
174.Nm 175.Nm
175ignores identity files if they are accessible by others. 176ignores identity files if they are accessible by others.
176.Sh DIAGNOSTICS 177.Sh EXIT STATUS
177Exit status is 0 on success, 1 if the specified command fails, 178Exit status is 0 on success, 1 if the specified command fails,
178and 2 if 179and 2 if
179.Nm 180.Nm