[ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8 ssh.1]
     [ssh_config.5 sshd.8 sshd_config.5]
     add missing mentions of ed25519; ok djm@
This commit is contained in:
Damien Miller 2013-12-18 17:46:27 +11:00
parent 4f752cf71c
commit 8ba0ead698
10 changed files with 79 additions and 40 deletions

View File

@ -3,6 +3,10 @@
- djm@cvs.openbsd.org 2013/12/07 08:08:26 - djm@cvs.openbsd.org 2013/12/07 08:08:26
[ssh-keygen.1] [ssh-keygen.1]
document -a and -o wrt new key format document -a and -o wrt new key format
- naddy@cvs.openbsd.org 2013/12/07 11:58:46
[ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8 ssh.1]
[ssh_config.5 sshd.8 sshd_config.5]
add missing mentions of ed25519; ok djm@
20131208 20131208
- (djm) [openbsd-compat/bsd-setres_id.c] Missing header; from Corinna - (djm) [openbsd-compat/bsd-setres_id.c] Missing header; from Corinna

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-add.1,v 1.58 2012/12/03 08:33:02 jmc Exp $ .\" $OpenBSD: ssh-add.1,v 1.59 2013/12/07 11:58:46 naddy Exp $
.\" .\"
.\" Author: Tatu Ylonen <ylo@cs.hut.fi> .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -35,7 +35,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: December 3 2012 $ .Dd $Mdocdate: December 7 2013 $
.Dt SSH-ADD 1 .Dt SSH-ADD 1
.Os .Os
.Sh NAME .Sh NAME
@ -57,7 +57,8 @@ adds private key identities to the authentication agent,
When run without arguments, it adds the files When run without arguments, it adds the files
.Pa ~/.ssh/id_rsa , .Pa ~/.ssh/id_rsa ,
.Pa ~/.ssh/id_dsa , .Pa ~/.ssh/id_dsa ,
.Pa ~/.ssh/id_ecdsa .Pa ~/.ssh/id_ecdsa ,
.Pa ~/.ssh/id_ed25519
and and
.Pa ~/.ssh/identity . .Pa ~/.ssh/identity .
After loading a private key, After loading a private key,
@ -169,6 +170,8 @@ Contains the protocol version 1 RSA authentication identity of the user.
Contains the protocol version 2 DSA authentication identity of the user. Contains the protocol version 2 DSA authentication identity of the user.
.It Pa ~/.ssh/id_ecdsa .It Pa ~/.ssh/id_ecdsa
Contains the protocol version 2 ECDSA authentication identity of the user. Contains the protocol version 2 ECDSA authentication identity of the user.
.It Pa ~/.ssh/id_ed25519
Contains the protocol version 2 ED25519 authentication identity of the user.
.It Pa ~/.ssh/id_rsa .It Pa ~/.ssh/id_rsa
Contains the protocol version 2 RSA authentication identity of the user. Contains the protocol version 2 RSA authentication identity of the user.
.El .El

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-agent.1,v 1.53 2010/11/21 01:01:13 djm Exp $ .\" $OpenBSD: ssh-agent.1,v 1.54 2013/12/07 11:58:46 naddy Exp $
.\" .\"
.\" Author: Tatu Ylonen <ylo@cs.hut.fi> .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: November 21 2010 $ .Dd $Mdocdate: December 7 2013 $
.Dt SSH-AGENT 1 .Dt SSH-AGENT 1
.Os .Os
.Sh NAME .Sh NAME
@ -53,7 +53,7 @@
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is a program to hold private keys used for public key authentication is a program to hold private keys used for public key authentication
(RSA, DSA, ECDSA). (RSA, DSA, ECDSA, ED25519).
The idea is that The idea is that
.Nm .Nm
is started in the beginning of an X-session or a login session, and is started in the beginning of an X-session or a login session, and
@ -115,7 +115,8 @@ When executed without arguments,
adds the files adds the files
.Pa ~/.ssh/id_rsa , .Pa ~/.ssh/id_rsa ,
.Pa ~/.ssh/id_dsa , .Pa ~/.ssh/id_dsa ,
.Pa ~/.ssh/id_ecdsa .Pa ~/.ssh/id_ecdsa ,
.Pa ~/.ssh/id_ed25519
and and
.Pa ~/.ssh/identity . .Pa ~/.ssh/identity .
If the identity has a passphrase, If the identity has a passphrase,
@ -190,6 +191,8 @@ Contains the protocol version 1 RSA authentication identity of the user.
Contains the protocol version 2 DSA authentication identity of the user. Contains the protocol version 2 DSA authentication identity of the user.
.It Pa ~/.ssh/id_ecdsa .It Pa ~/.ssh/id_ecdsa
Contains the protocol version 2 ECDSA authentication identity of the user. Contains the protocol version 2 ECDSA authentication identity of the user.
.It Pa ~/.ssh/id_ed25519
Contains the protocol version 2 ED25519 authentication identity of the user.
.It Pa ~/.ssh/id_rsa .It Pa ~/.ssh/id_rsa
Contains the protocol version 2 RSA authentication identity of the user. Contains the protocol version 2 RSA authentication identity of the user.
.It Pa $TMPDIR/ssh-XXXXXXXXXX/agent.\*(Ltppid\*(Gt .It Pa $TMPDIR/ssh-XXXXXXXXXX/agent.\*(Ltppid\*(Gt

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-keygen.1,v 1.117 2013/12/07 08:08:26 djm Exp $ .\" $OpenBSD: ssh-keygen.1,v 1.118 2013/12/07 11:58:46 naddy Exp $
.\" .\"
.\" Author: Tatu Ylonen <ylo@cs.hut.fi> .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -139,8 +139,8 @@
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 DSA, ECDSA or RSA can create RSA keys for use by SSH protocol version 1 and
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.
@ -167,8 +167,9 @@ Normally each user wishing to use SSH
with public key authentication runs this once to create the authentication with public key authentication runs this once to create the authentication
key in key in
.Pa ~/.ssh/identity , .Pa ~/.ssh/identity ,
.Pa ~/.ssh/id_dsa ,
.Pa ~/.ssh/id_ecdsa , .Pa ~/.ssh/id_ecdsa ,
.Pa ~/.ssh/id_dsa .Pa ~/.ssh/id_ed25519
or or
.Pa ~/.ssh/id_rsa . .Pa ~/.ssh/id_rsa .
Additionally, the system administrator may use this to generate host keys, Additionally, the system administrator may use this to generate host keys,
@ -216,7 +217,8 @@ should be placed to be activated.
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 and ecdsa) for which host keys For each of the key types (rsa1, rsa, dsa, ecdsa and ed25519)
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.
This is used by This is used by
@ -249,6 +251,9 @@ flag determines the key length by selecting from one of three elliptic
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
.Fl b
flag will be ignored.
.It Fl C Ar comment .It Fl C Ar comment
Provides a new comment. Provides a new comment.
.It Fl c .It Fl c
@ -515,7 +520,8 @@ The possible values are
.Dq rsa1 .Dq rsa1
for protocol version 1 and for protocol version 1 and
.Dq dsa , .Dq dsa ,
.Dq ecdsa .Dq ecdsa ,
.Dq ed25519 ,
or or
.Dq rsa .Dq rsa
for protocol version 2. for protocol version 2.
@ -795,8 +801,10 @@ There is no need to keep the contents of this file secret.
.Pp .Pp
.It Pa ~/.ssh/id_dsa .It Pa ~/.ssh/id_dsa
.It Pa ~/.ssh/id_ecdsa .It Pa ~/.ssh/id_ecdsa
.It Pa ~/.ssh/id_ed25519
.It Pa ~/.ssh/id_rsa .It Pa ~/.ssh/id_rsa
Contains the protocol version 2 DSA, ECDSA or RSA authentication identity of the user. Contains the protocol version 2 DSA, ECDSA, ED25519 or RSA
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
specify a passphrase when generating the key; that passphrase will be specify a passphrase when generating the key; that passphrase will be
@ -809,8 +817,10 @@ will read this file when a login attempt is made.
.Pp .Pp
.It Pa ~/.ssh/id_dsa.pub .It Pa ~/.ssh/id_dsa.pub
.It Pa ~/.ssh/id_ecdsa.pub .It Pa ~/.ssh/id_ecdsa.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 or RSA public key for authentication. Contains the protocol version 2 DSA, ECDSA, ED25519 or RSA
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
on all machines on all machines

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-keyscan.1,v 1.32 2013/12/06 13:39:49 markus Exp $ .\" $OpenBSD: ssh-keyscan.1,v 1.33 2013/12/07 11:58:46 naddy Exp $
.\" .\"
.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. .\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
.\" .\"
@ -6,7 +6,7 @@
.\" permitted provided that due credit is given to the author and the .\" permitted provided that due credit is given to the author and the
.\" OpenBSD project by leaving this copyright notice intact. .\" OpenBSD project by leaving this copyright notice intact.
.\" .\"
.Dd $Mdocdate: December 6 2013 $ .Dd $Mdocdate: December 7 2013 $
.Dt SSH-KEYSCAN 1 .Dt SSH-KEYSCAN 1
.Os .Os
.Sh NAME .Sh NAME
@ -89,7 +89,8 @@ The possible values are
.Dq rsa1 .Dq rsa1
for protocol version 1 and for protocol version 1 and
.Dq dsa , .Dq dsa ,
.Dq ecdsa .Dq ecdsa ,
.Dq ed25519 ,
or or
.Dq rsa .Dq rsa
for protocol version 2. for protocol version 2.

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-keysign.8,v 1.13 2013/07/16 00:07:52 schwarze Exp $ .\" $OpenBSD: ssh-keysign.8,v 1.14 2013/12/07 11:58:46 naddy Exp $
.\" .\"
.\" Copyright (c) 2002 Markus Friedl. All rights reserved. .\" Copyright (c) 2002 Markus Friedl. All rights reserved.
.\" .\"
@ -22,7 +22,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: July 16 2013 $ .Dd $Mdocdate: December 7 2013 $
.Dt SSH-KEYSIGN 8 .Dt SSH-KEYSIGN 8
.Os .Os
.Sh NAME .Sh NAME
@ -63,6 +63,7 @@ is enabled.
.Pp .Pp
.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 used to These files contain the private parts of the host keys used to
generate the digital signature. generate the digital signature.
@ -74,6 +75,7 @@ must be set-uid root if host-based authentication is used.
.Pp .Pp
.It Pa /etc/ssh/ssh_host_dsa_key-cert.pub .It Pa /etc/ssh/ssh_host_dsa_key-cert.pub
.It Pa /etc/ssh/ssh_host_ecdsa_key-cert.pub .It Pa /etc/ssh/ssh_host_ecdsa_key-cert.pub
.It Pa /etc/ssh/ssh_host_ed25519_key-cert.pub
.It Pa /etc/ssh/ssh_host_rsa_key-cert.pub .It Pa /etc/ssh/ssh_host_rsa_key-cert.pub
If these files exist they are assumed to contain public certificate If these files exist they are assumed to contain public certificate
information corresponding with the private keys above. information corresponding with the private keys above.

20
ssh.1
View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: ssh.1,v 1.342 2013/11/26 12:14:54 jmc Exp $ .\" $OpenBSD: ssh.1,v 1.343 2013/12/07 11:58:46 naddy Exp $
.Dd $Mdocdate: November 26 2013 $ .Dd $Mdocdate: December 7 2013 $
.Dt SSH 1 .Dt SSH 1
.Os .Os
.Sh NAME .Sh NAME
@ -279,7 +279,8 @@ The default is
.Pa ~/.ssh/identity .Pa ~/.ssh/identity
for protocol version 1, and for protocol version 1, and
.Pa ~/.ssh/id_dsa , .Pa ~/.ssh/id_dsa ,
.Pa ~/.ssh/id_ecdsa .Pa ~/.ssh/id_ecdsa ,
.Pa ~/.ssh/id_ed25519
and and
.Pa ~/.ssh/id_rsa .Pa ~/.ssh/id_rsa
for protocol version 2. for protocol version 2.
@ -757,7 +758,7 @@ key pair for authentication purposes.
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 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
@ -784,6 +785,8 @@ This stores the private key in
(protocol 2 DSA), (protocol 2 DSA),
.Pa ~/.ssh/id_ecdsa .Pa ~/.ssh/id_ecdsa
(protocol 2 ECDSA), (protocol 2 ECDSA),
.Pa ~/.ssh/id_ed25519
(protocol 2 ED25519),
or or
.Pa ~/.ssh/id_rsa .Pa ~/.ssh/id_rsa
(protocol 2 RSA) (protocol 2 RSA)
@ -794,6 +797,8 @@ and stores the public key in
(protocol 2 DSA), (protocol 2 DSA),
.Pa ~/.ssh/id_ecdsa.pub .Pa ~/.ssh/id_ecdsa.pub
(protocol 2 ECDSA), (protocol 2 ECDSA),
.Pa ~/.ssh/id_ed25519.pub
(protocol 2 ED25519),
or or
.Pa ~/.ssh/id_rsa.pub .Pa ~/.ssh/id_rsa.pub
(protocol 2 RSA) (protocol 2 RSA)
@ -1333,8 +1338,8 @@ secret, but the recommended permissions are read/write/execute for the user,
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 as Lists the public keys (DSA, ECDSA, ED25519, RSA)
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
manual page. manual page.
@ -1356,6 +1361,7 @@ above.
.It Pa ~/.ssh/identity .It Pa ~/.ssh/identity
.It Pa ~/.ssh/id_dsa .It Pa ~/.ssh/id_dsa
.It Pa ~/.ssh/id_ecdsa .It Pa ~/.ssh/id_ecdsa
.It Pa ~/.ssh/id_ed25519
.It Pa ~/.ssh/id_rsa .It Pa ~/.ssh/id_rsa
Contains the private key for authentication. Contains the private key for authentication.
These files These files
@ -1370,6 +1376,7 @@ sensitive part of this file using 3DES.
.It Pa ~/.ssh/identity.pub .It Pa ~/.ssh/identity.pub
.It Pa ~/.ssh/id_dsa.pub .It Pa ~/.ssh/id_dsa.pub
.It Pa ~/.ssh/id_ecdsa.pub .It Pa ~/.ssh/id_ecdsa.pub
.It Pa ~/.ssh/id_ed25519.pub
.It Pa ~/.ssh/id_rsa.pub .It Pa ~/.ssh/id_rsa.pub
Contains the public key for authentication. Contains the public key for authentication.
These files are not These files are not
@ -1409,6 +1416,7 @@ The file format and configuration options are described in
.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
and are used for host-based authentication. and are used for host-based authentication.

View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: ssh_config.5,v 1.182 2013/12/06 13:39:49 markus Exp $ .\" $OpenBSD: ssh_config.5,v 1.183 2013/12/07 11:58:46 naddy Exp $
.Dd $Mdocdate: December 6 2013 $ .Dd $Mdocdate: December 7 2013 $
.Dt SSH_CONFIG 5 .Dt SSH_CONFIG 5
.Os .Os
.Sh NAME .Sh NAME
@ -718,6 +718,7 @@ The default for this option is:
ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com,
ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com,
ecdsa-sha2-nistp521-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com,
ssh-ed25519-cert-v01@openssh.com,
ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com, ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,
ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com, ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,
ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521, ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
@ -763,13 +764,14 @@ offers many different identities.
The default is The default is
.Dq no . .Dq no .
.It Cm IdentityFile .It Cm IdentityFile
Specifies a file from which the user's DSA, ECDSA or RSA authentication Specifies a file from which the user's DSA, ECDSA, ED25519 or RSA authentication
identity is read. identity is read.
The default is The default is
.Pa ~/.ssh/identity .Pa ~/.ssh/identity
for protocol version 1, and for protocol version 1, and
.Pa ~/.ssh/id_dsa , .Pa ~/.ssh/id_dsa ,
.Pa ~/.ssh/id_ecdsa .Pa ~/.ssh/id_ecdsa ,
.Pa ~/.ssh/id_ed25519
and and
.Pa ~/.ssh/id_rsa .Pa ~/.ssh/id_rsa
for protocol version 2. for protocol version 2.

16
sshd.8
View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: sshd.8,v 1.272 2013/12/06 15:29:07 jmc Exp $ .\" $OpenBSD: sshd.8,v 1.273 2013/12/07 11:58:46 naddy Exp $
.Dd $Mdocdate: December 6 2013 $ .Dd $Mdocdate: December 7 2013 $
.Dt SSHD 8 .Dt SSHD 8
.Os .Os
.Sh NAME .Sh NAME
@ -175,7 +175,8 @@ The default is
.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.
@ -280,7 +281,7 @@ though this can be changed via the
.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,
@ -507,6 +508,7 @@ You don't want to type them in; instead, copy the
.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.
@ -806,8 +808,8 @@ secret, but the recommended permissions are read/write/execute for the user,
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.
@ -887,6 +889,7 @@ rlogin/rsh.
.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
@ -898,6 +901,7 @@ does not start if these files are group/world-accessible.
.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

View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: sshd_config.5,v 1.168 2013/11/21 08:05:09 jmc Exp $ .\" $OpenBSD: sshd_config.5,v 1.169 2013/12/07 11:58:46 naddy Exp $
.Dd $Mdocdate: November 21 2013 $ .Dd $Mdocdate: December 7 2013 $
.Dt SSHD_CONFIG 5 .Dt SSHD_CONFIG 5
.Os .Os
.Sh NAME .Sh NAME
@ -540,7 +540,8 @@ The default is
.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.
@ -551,7 +552,8 @@ It is possible to have multiple host key files.
.Dq rsa1 .Dq rsa1
keys are used for version 1 and keys are used for version 1 and
.Dq dsa , .Dq dsa ,
.Dq ecdsa .Dq ecdsa ,
.Dq ed25519
or or
.Dq rsa .Dq rsa
are used for version 2 of the SSH protocol. are used for version 2 of the SSH protocol.