version 1.272, 2013/12/06 15:29:07 |
version 1.273, 2013/12/07 11:58:46 |
|
|
.Pa /etc/ssh/ssh_host_key |
.Pa /etc/ssh/ssh_host_key |
for protocol version 1, and |
for protocol version 1, and |
.Pa /etc/ssh/ssh_host_dsa_key , |
.Pa /etc/ssh/ssh_host_dsa_key , |
.Pa /etc/ssh/ssh_host_ecdsa_key |
.Pa /etc/ssh/ssh_host_ecdsa_key . |
|
.Pa /etc/ssh/ssh_host_ed25519_key |
and |
and |
.Pa /etc/ssh/ssh_host_rsa_key |
.Pa /etc/ssh/ssh_host_rsa_key |
for protocol version 2. |
for protocol version 2. |
|
|
.Cm Protocol |
.Cm Protocol |
option in |
option in |
.Xr sshd_config 5 . |
.Xr sshd_config 5 . |
Protocol 2 supports DSA, ECDSA and RSA keys; |
Protocol 2 supports DSA, ECDSA, ED25519 and RSA keys; |
protocol 1 only supports RSA keys. |
protocol 1 only supports RSA keys. |
For both protocols, |
For both protocols, |
each host has a host-specific key, |
each host has a host-specific key, |
|
|
.Pa identity.pub , |
.Pa identity.pub , |
.Pa id_dsa.pub , |
.Pa id_dsa.pub , |
.Pa id_ecdsa.pub , |
.Pa id_ecdsa.pub , |
|
.Pa id_ed25519.pub , |
or the |
or the |
.Pa id_rsa.pub |
.Pa id_rsa.pub |
file and edit it. |
file and edit it. |
|
|
and not accessible by others. |
and not accessible by others. |
.Pp |
.Pp |
.It Pa ~/.ssh/authorized_keys |
.It Pa ~/.ssh/authorized_keys |
Lists the public keys (DSA/ECDSA/RSA) that can be used for logging in |
Lists the public keys (DSA, ECDSA, ED25519, RSA) |
as this user. |
that can be used for logging in as this user. |
The format of this file is described above. |
The format of this file is described above. |
The content of the file is not highly sensitive, but the recommended |
The content of the file is not highly sensitive, but the recommended |
permissions are read/write for the user, and not accessible by others. |
permissions are read/write for the user, and not accessible by others. |
|
|
.It Pa /etc/ssh/ssh_host_key |
.It Pa /etc/ssh/ssh_host_key |
.It Pa /etc/ssh/ssh_host_dsa_key |
.It Pa /etc/ssh/ssh_host_dsa_key |
.It Pa /etc/ssh/ssh_host_ecdsa_key |
.It Pa /etc/ssh/ssh_host_ecdsa_key |
|
.It Pa /etc/ssh/ssh_host_ed25519_key |
.It Pa /etc/ssh/ssh_host_rsa_key |
.It Pa /etc/ssh/ssh_host_rsa_key |
These files contain the private parts of the host keys. |
These files contain the private parts of the host keys. |
These files should only be owned by root, readable only by root, and not |
These files should only be owned by root, readable only by root, and not |
|
|
.It Pa /etc/ssh/ssh_host_key.pub |
.It Pa /etc/ssh/ssh_host_key.pub |
.It Pa /etc/ssh/ssh_host_dsa_key.pub |
.It Pa /etc/ssh/ssh_host_dsa_key.pub |
.It Pa /etc/ssh/ssh_host_ecdsa_key.pub |
.It Pa /etc/ssh/ssh_host_ecdsa_key.pub |
|
.It Pa /etc/ssh/ssh_host_ed25519_key.pub |
.It Pa /etc/ssh/ssh_host_rsa_key.pub |
.It Pa /etc/ssh/ssh_host_rsa_key.pub |
These files contain the public parts of the host keys. |
These files contain the public parts of the host keys. |
These files should be world-readable but writable only by |
These files should be world-readable but writable only by |