version 1.53, 2002/02/16 14:53:37 |
version 1.53.2.2, 2003/04/03 22:35:17 |
|
|
.Nd authentication key generation, management and conversion |
.Nd authentication key generation, management and conversion |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm ssh-keygen |
.Nm ssh-keygen |
|
.Bk -words |
.Op Fl q |
.Op Fl q |
.Op Fl b Ar bits |
.Op Fl b Ar bits |
.Fl t Ar type |
.Fl t Ar type |
.Op Fl N Ar new_passphrase |
.Op Fl N Ar new_passphrase |
.Op Fl C Ar comment |
.Op Fl C Ar comment |
.Op Fl f Ar output_keyfile |
.Op Fl f Ar output_keyfile |
|
.Ek |
.Nm ssh-keygen |
.Nm ssh-keygen |
.Fl p |
.Fl p |
.Op Fl P Ar old_passphrase |
.Op Fl P Ar old_passphrase |
|
|
generates, manages and converts authentication keys for |
generates, manages and converts authentication keys for |
.Xr ssh 1 . |
.Xr ssh 1 . |
.Nm |
.Nm |
can create RSA keys for use by SSH protocol version 1 and RSA or DSA |
can create RSA keys for use by SSH protocol version 1 and RSA or DSA |
keys for use by SSH protocol version 2. The type of key to be generated |
keys for use by SSH protocol version 2. The type of key to be generated |
is specified with the |
is specified with the |
.Fl t |
.Fl t |
|
|
.It Fl b Ar bits |
.It Fl b Ar bits |
Specifies the number of bits in the key to create. |
Specifies the number of bits in the key to create. |
Minimum is 512 bits. |
Minimum is 512 bits. |
Generally 1024 bits is considered sufficient, and key sizes |
Generally, 1024 bits is considered sufficient. |
above that no longer improve security but make things slower. |
|
The default is 1024 bits. |
The default is 1024 bits. |
.It Fl c |
.It Fl c |
Requests changing the comment in the private and public key files. |
Requests changing the comment in the private and public key files. |