diff options
Diffstat (limited to 'ssh-keygen.1')
-rw-r--r-- | ssh-keygen.1 | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/ssh-keygen.1 b/ssh-keygen.1 index b91a09827..b1430f143 100644 --- a/ssh-keygen.1 +++ b/ssh-keygen.1 | |||
@@ -43,8 +43,9 @@ | |||
43 | .Nd authentication key generation | 43 | .Nd authentication key generation |
44 | .Sh SYNOPSIS | 44 | .Sh SYNOPSIS |
45 | .Nm ssh-keygen | 45 | .Nm ssh-keygen |
46 | .Op Fl dq | 46 | .Op Fl q |
47 | .Op Fl b Ar bits | 47 | .Op Fl b Ar bits |
48 | .Op Fl t Ar type | ||
48 | .Op Fl N Ar new_passphrase | 49 | .Op Fl N Ar new_passphrase |
49 | .Op Fl C Ar comment | 50 | .Op Fl C Ar comment |
50 | .Op Fl f Ar output_keyfile | 51 | .Op Fl f Ar output_keyfile |
@@ -79,8 +80,8 @@ generates and manages authentication keys for | |||
79 | .Nm | 80 | .Nm |
80 | defaults to generating an RSA key for use by protocols 1.3 and 1.5; | 81 | defaults to generating an RSA key for use by protocols 1.3 and 1.5; |
81 | specifying the | 82 | specifying the |
82 | .Fl d | 83 | .Fl t |
83 | flag will create a DSA key instead for use by protocol 2.0. | 84 | allows you to create a key for use by protocol 2.0. |
84 | .Pp | 85 | .Pp |
85 | Normally each user wishing to use SSH | 86 | Normally each user wishing to use SSH |
86 | with RSA or DSA authentication runs this once to create the authentication | 87 | with RSA or DSA authentication runs this once to create the authentication |
@@ -154,6 +155,17 @@ Silence | |||
154 | Used by | 155 | Used by |
155 | .Pa /etc/rc | 156 | .Pa /etc/rc |
156 | when creating a new key. | 157 | when creating a new key. |
158 | .It Fl t Ar type | ||
159 | Specifies the type of the key to create. | ||
160 | The possible values are | ||
161 | .Dq rsa1 | ||
162 | for protocol version 1 and | ||
163 | .Dq rsa | ||
164 | or | ||
165 | .Dq dsa | ||
166 | for protocol version 2. | ||
167 | The default is | ||
168 | .Dq rsa . | ||
157 | .It Fl C Ar comment | 169 | .It Fl C Ar comment |
158 | Provides the new comment. | 170 | Provides the new comment. |
159 | .It Fl N Ar new_passphrase | 171 | .It Fl N Ar new_passphrase |
@@ -173,7 +185,7 @@ SSH2-compatible private (or public) key file and | |||
173 | print an OpenSSH compatible private (or public) key to stdout. | 185 | print an OpenSSH compatible private (or public) key to stdout. |
174 | .It Fl y | 186 | .It Fl y |
175 | This option will read a private | 187 | This option will read a private |
176 | OpenSSH DSA format file and print an OpenSSH DSA public key to stdout. | 188 | OpenSSH format file and print an OpenSSH public key to stdout. |
177 | .El | 189 | .El |
178 | .Sh FILES | 190 | .Sh FILES |
179 | .Bl -tag -width Ds | 191 | .Bl -tag -width Ds |
@@ -211,10 +223,10 @@ Contains the public key for authentication. | |||
211 | The contents of this file should be added to | 223 | The contents of this file should be added to |
212 | .Pa $HOME/.ssh/authorized_keys2 | 224 | .Pa $HOME/.ssh/authorized_keys2 |
213 | on all machines | 225 | on all machines |
214 | where you wish to log in using DSA authentication. | 226 | where you wish to log in using public key authentication. |
215 | There is no need to keep the contents of this file secret. | 227 | There is no need to keep the contents of this file secret. |
216 | .El | 228 | .El |
217 | .Sh AUTHOR | 229 | .Sh AUTHORS |
218 | Tatu Ylonen <ylo@cs.hut.fi> | 230 | Tatu Ylonen <ylo@cs.hut.fi> |
219 | .Pp | 231 | .Pp |
220 | OpenSSH | 232 | OpenSSH |