version 1.348, 2014/07/24 22:57:10 |
version 1.349, 2014/08/30 15:33:50 |
|
|
The server knows the public key, and only the user knows the private key. |
The server knows the public key, and only the user knows the private key. |
.Nm |
.Nm |
implements public key authentication protocol automatically, |
implements public key authentication protocol automatically, |
using one of the DSA, ECDSA, ED25519 or RSA algorithms. |
using one of the DSA, ECDSA, Ed25519 or RSA algorithms. |
Protocol 1 is restricted to using only RSA keys, |
Protocol 1 is restricted to using only RSA keys, |
but protocol 2 may use any. |
but protocol 2 may use any. |
The HISTORY section of |
The HISTORY section of |
|
|
.Pa ~/.ssh/id_ecdsa |
.Pa ~/.ssh/id_ecdsa |
(protocol 2 ECDSA), |
(protocol 2 ECDSA), |
.Pa ~/.ssh/id_ed25519 |
.Pa ~/.ssh/id_ed25519 |
(protocol 2 ED25519), |
(protocol 2 Ed25519), |
or |
or |
.Pa ~/.ssh/id_rsa |
.Pa ~/.ssh/id_rsa |
(protocol 2 RSA) |
(protocol 2 RSA) |
|
|
.Pa ~/.ssh/id_ecdsa.pub |
.Pa ~/.ssh/id_ecdsa.pub |
(protocol 2 ECDSA), |
(protocol 2 ECDSA), |
.Pa ~/.ssh/id_ed25519.pub |
.Pa ~/.ssh/id_ed25519.pub |
(protocol 2 ED25519), |
(protocol 2 Ed25519), |
or |
or |
.Pa ~/.ssh/id_rsa.pub |
.Pa ~/.ssh/id_rsa.pub |
(protocol 2 RSA) |
(protocol 2 RSA) |
|
|
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, ED25519, RSA) |
Lists the public keys (DSA, ECDSA, Ed25519, RSA) |
that can be used for logging in as this user. |
that can be used for logging in as this user. |
The format of this file is described in the |
The format of this file is described in the |
.Xr sshd 8 |
.Xr sshd 8 |