summaryrefslogtreecommitdiff
path: root/ssh-add.0
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.0')
-rw-r--r--ssh-add.016
1 files changed, 10 insertions, 6 deletions
diff --git a/ssh-add.0 b/ssh-add.0
index 86f3994c4..bf62ca905 100644
--- a/ssh-add.0
+++ b/ssh-add.0
@@ -1,7 +1,7 @@
1SSH-ADD(1) OpenBSD Reference Manual SSH-ADD(1) 1SSH-ADD(1) OpenBSD Reference Manual SSH-ADD(1)
2 2
3NAME 3NAME
4 ssh-add - adds RSA or DSA identities to the authentication agent 4 ssh-add - adds private key identities to the authentication agent
5 5
6SYNOPSIS 6SYNOPSIS
7 ssh-add [-cDdLlXx] [-t life] [file ...] 7 ssh-add [-cDdLlXx] [-t life] [file ...]
@@ -9,10 +9,10 @@ SYNOPSIS
9 ssh-add -e pkcs11 9 ssh-add -e pkcs11
10 10
11DESCRIPTION 11DESCRIPTION
12 ssh-add adds RSA or DSA identities to the authentication agent, 12 ssh-add adds private key identities to the authentication agent,
13 ssh-agent(1). When run without arguments, it adds the files 13 ssh-agent(1). When run without arguments, it adds the files
14 ~/.ssh/id_rsa, ~/.ssh/id_dsa and ~/.ssh/identity. After loading a 14 ~/.ssh/id_rsa, ~/.ssh/id_dsa, ~/.ssh/id_ecdsa and ~/.ssh/identity. After
15 private key, ssh-add will try to load corresponding certificate 15 loading a private key, ssh-add will try to load corresponding certificate
16 information from the filename obtained by appending -cert.pub to the name 16 information from the filename obtained by appending -cert.pub to the name
17 of the private key file. Alternative file names can be given on the 17 of the private key file. Alternative file names can be given on the
18 command line. 18 command line.
@@ -87,6 +87,10 @@ FILES
87 Contains the protocol version 2 DSA authentication identity of 87 Contains the protocol version 2 DSA authentication identity of
88 the user. 88 the user.
89 89
90 ~/.ssh/id_ecdsa
91 Contains the protocol version 2 ECDSA authentication identity of
92 the user.
93
90 ~/.ssh/id_rsa 94 ~/.ssh/id_rsa
91 Contains the protocol version 2 RSA authentication identity of 95 Contains the protocol version 2 RSA authentication identity of
92 the user. 96 the user.
@@ -94,7 +98,7 @@ FILES
94 Identity files should not be readable by anyone but the user. Note that 98 Identity files should not be readable by anyone but the user. Note that
95 ssh-add ignores identity files if they are accessible by others. 99 ssh-add ignores identity files if they are accessible by others.
96 100
97DIAGNOSTICS 101EXIT STATUS
98 Exit status is 0 on success, 1 if the specified command fails, and 2 if 102 Exit status is 0 on success, 1 if the specified command fails, and 2 if
99 ssh-add is unable to contact the authentication agent. 103 ssh-add is unable to contact the authentication agent.
100 104
@@ -108,4 +112,4 @@ AUTHORS
108 created OpenSSH. Markus Friedl contributed the support for SSH protocol 112 created OpenSSH. Markus Friedl contributed the support for SSH protocol
109 versions 1.5 and 2.0. 113 versions 1.5 and 2.0.
110 114
111OpenBSD 4.8 March 5, 2010 OpenBSD 4.8 115OpenBSD 4.8 October 28, 2010 OpenBSD 4.8