version 1.138, 2017/05/02 09:05:58 |
version 1.139, 2017/05/02 17:04:09 |
|
|
.Nm ssh-keygen |
.Nm ssh-keygen |
.Op Fl q |
.Op Fl q |
.Op Fl b Ar bits |
.Op Fl b Ar bits |
.Op Fl t Cm dsa | ecdsa | ed25519 | rsa | rsa1 |
.Op Fl t Cm dsa | ecdsa | ed25519 | rsa |
.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 |
|
|
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl A |
.It Fl A |
For each of the key types (rsa1, rsa, dsa, ecdsa and ed25519) |
For each of the key types (rsa, dsa, ecdsa and ed25519) |
for which host keys |
for which host keys |
do not exist, generate the host keys with the default key file path, |
do not exist, generate the host keys with the default key file path, |
an empty passphrase, default bits for the key type, and default comment. |
an empty passphrase, default bits for the key type, and default comment. |
|
|
Test DH group exchange candidate primes (generated using the |
Test DH group exchange candidate primes (generated using the |
.Fl G |
.Fl G |
option) for safety. |
option) for safety. |
.It Fl t Cm dsa | ecdsa | ed25519 | rsa | rsa1 |
.It Fl t Cm dsa | ecdsa | ed25519 | rsa |
Specifies the type of key to create. |
Specifies the type of key to create. |
The possible values are |
The possible values are |
.Dq rsa1 |
|
for protocol version 1 and |
|
.Dq dsa , |
.Dq dsa , |
.Dq ecdsa , |
.Dq ecdsa , |
.Dq ed25519 , |
.Dq ed25519 , |
or |
or |
.Dq rsa |
.Dq rsa . |
for protocol version 2. |
|
.It Fl u |
.It Fl u |
Update a KRL. |
Update a KRL. |
When specified with |
When specified with |