diff options
Diffstat (limited to 'ssh-add.1')
-rw-r--r-- | ssh-add.1 | 32 |
1 files changed, 20 insertions, 12 deletions
@@ -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 |
57 | adds RSA or DSA identities to the authentication agent, | 57 | adds 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 |
62 | and | 62 | and |
63 | .Pa ~/.ssh/identity . | 63 | .Pa ~/.ssh/identity . |
64 | After loading a private key, | ||
65 | .Nm | ||
66 | will try to load corresponding certificate information from the | ||
67 | filename obtained by appending | ||
68 | .Pa -cert.pub | ||
69 | to the name of the private key file. | ||
64 | Alternative file names can be given on the command line. | 70 | Alternative file names can be given on the command line. |
71 | .Pp | ||
65 | If any file requires a passphrase, | 72 | If any file requires a passphrase, |
66 | .Nm | 73 | .Nm |
67 | asks for the passphrase from the user. | 74 | asks for the passphrase from the user. |
@@ -105,17 +112,17 @@ If no public key is found at a given path, | |||
105 | will append | 112 | will append |
106 | .Pa .pub | 113 | .Pa .pub |
107 | and retry. | 114 | and retry. |
108 | .It Fl e Ar reader | 115 | .It Fl e Ar pkcs11 |
109 | Remove key in smartcard | 116 | Remove keys provided by the PKCS#11 shared library |
110 | .Ar reader . | 117 | .Ar pkcs11 . |
111 | .It Fl L | 118 | .It Fl L |
112 | Lists public key parameters of all identities currently represented | 119 | Lists public key parameters of all identities currently represented |
113 | by the agent. | 120 | by the agent. |
114 | .It Fl l | 121 | .It Fl l |
115 | Lists fingerprints of all identities currently represented by the agent. | 122 | Lists fingerprints of all identities currently represented by the agent. |
116 | .It Fl s Ar reader | 123 | .It Fl s Ar pkcs11 |
117 | Add key in smartcard | 124 | Add 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 |
120 | Set a maximum lifetime when adding identities to an agent. | 127 | Set a maximum lifetime when adding identities to an agent. |
121 | The lifetime may be specified in seconds or in a time format | 128 | The 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 |
153 | to make this work.) | 160 | to make this work.) |
154 | .It Ev SSH_AUTH_SOCK | 161 | .It Ev SSH_AUTH_SOCK |
155 | Identifies the path of a unix-domain socket used to communicate with the | 162 | Identifies the path of a |
156 | agent. | 163 | .Ux Ns -domain |
164 | socket 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 |