version 1.122, 2014/03/31 13:39:34 |
version 1.123, 2014/08/30 15:33:50 |
|
|
.Xr ssh 1 . |
.Xr ssh 1 . |
.Nm |
.Nm |
can create RSA keys for use by SSH protocol version 1 and |
can create RSA keys for use by SSH protocol version 1 and |
DSA, ECDSA, ED25519 or RSA keys for use by SSH protocol version 2. |
DSA, ECDSA, Ed25519 or RSA keys for use by SSH protocol version 2. |
The type of key to be generated is specified with the |
The type of key to be generated is specified with the |
.Fl t |
.Fl t |
option. |
option. |
|
|
curve sizes: 256, 384 or 521 bits. |
curve sizes: 256, 384 or 521 bits. |
Attempting to use bit lengths other than these three values for ECDSA keys |
Attempting to use bit lengths other than these three values for ECDSA keys |
will fail. |
will fail. |
ED25519 keys have a fixed length and the |
Ed25519 keys have a fixed length and the |
.Fl b |
.Fl b |
flag will be ignored. |
flag will be ignored. |
.It Fl C Ar comment |
.It Fl C Ar comment |
|
|
.It Pa ~/.ssh/id_ecdsa |
.It Pa ~/.ssh/id_ecdsa |
.It Pa ~/.ssh/id_ed25519 |
.It Pa ~/.ssh/id_ed25519 |
.It Pa ~/.ssh/id_rsa |
.It Pa ~/.ssh/id_rsa |
Contains the protocol version 2 DSA, ECDSA, ED25519 or RSA |
Contains the protocol version 2 DSA, ECDSA, Ed25519 or RSA |
authentication identity of the user. |
authentication identity of the user. |
This file should not be readable by anyone but the user. |
This file should not be readable by anyone but the user. |
It is possible to |
It is possible to |
|
|
.It Pa ~/.ssh/id_ecdsa.pub |
.It Pa ~/.ssh/id_ecdsa.pub |
.It Pa ~/.ssh/id_ed25519.pub |
.It Pa ~/.ssh/id_ed25519.pub |
.It Pa ~/.ssh/id_rsa.pub |
.It Pa ~/.ssh/id_rsa.pub |
Contains the protocol version 2 DSA, ECDSA, ED25519 or RSA |
Contains the protocol version 2 DSA, ECDSA, Ed25519 or RSA |
public key for authentication. |
public key for authentication. |
The contents of this file should be added to |
The contents of this file should be added to |
.Pa ~/.ssh/authorized_keys |
.Pa ~/.ssh/authorized_keys |