summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-12-18 17:46:27 +1100
committerDamien Miller <djm@mindrot.org>2013-12-18 17:46:27 +1100
commit8ba0ead6985ea14999265136b14ffd5aeec516f9 (patch)
tree1fdf16c075d97bbcbe5548ce8ec2082d04d3925c
parent4f752cf71cf44bf4bc777541156c2bf56daf9ce9 (diff)
- 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@
-rw-r--r--ChangeLog4
-rw-r--r--ssh-add.19
-rw-r--r--ssh-agent.111
-rw-r--r--ssh-keygen.126
-rw-r--r--ssh-keyscan.17
-rw-r--r--ssh-keysign.86
-rw-r--r--ssh.120
-rw-r--r--ssh_config.510
-rw-r--r--sshd.816
-rw-r--r--sshd_config.510
10 files changed, 79 insertions, 40 deletions
diff --git a/ChangeLog b/ChangeLog
index 351bd0386..c162b7f5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,10 @@
3 - djm@cvs.openbsd.org 2013/12/07 08:08:26 3 - djm@cvs.openbsd.org 2013/12/07 08:08:26
4 [ssh-keygen.1] 4 [ssh-keygen.1]
5 document -a and -o wrt new key format 5 document -a and -o wrt new key format
6 - naddy@cvs.openbsd.org 2013/12/07 11:58:46
7 [ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8 ssh.1]
8 [ssh_config.5 sshd.8 sshd_config.5]
9 add missing mentions of ed25519; ok djm@
6 10
720131208 1120131208
8 - (djm) [openbsd-compat/bsd-setres_id.c] Missing header; from Corinna 12 - (djm) [openbsd-compat/bsd-setres_id.c] Missing header; from Corinna
diff --git a/ssh-add.1 b/ssh-add.1
index 44846b67e..4812448fa 100644
--- a/ssh-add.1
+++ b/ssh-add.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-add.1,v 1.58 2012/12/03 08:33:02 jmc Exp $ 1.\" $OpenBSD: ssh-add.1,v 1.59 2013/12/07 11:58:46 naddy Exp $
2.\" 2.\"
3.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -35,7 +35,7 @@
35.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37.\" 37.\"
38.Dd $Mdocdate: December 3 2012 $ 38.Dd $Mdocdate: December 7 2013 $
39.Dt SSH-ADD 1 39.Dt SSH-ADD 1
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -57,7 +57,8 @@ adds private key identities to the authentication agent,
57When run without arguments, it adds the files 57When run without arguments, it adds the files
58.Pa ~/.ssh/id_rsa , 58.Pa ~/.ssh/id_rsa ,
59.Pa ~/.ssh/id_dsa , 59.Pa ~/.ssh/id_dsa ,
60.Pa ~/.ssh/id_ecdsa 60.Pa ~/.ssh/id_ecdsa ,
61.Pa ~/.ssh/id_ed25519
61and 62and
62.Pa ~/.ssh/identity . 63.Pa ~/.ssh/identity .
63After loading a private key, 64After loading a private key,
@@ -169,6 +170,8 @@ Contains the protocol version 1 RSA authentication identity of the user.
169Contains the protocol version 2 DSA authentication identity of the user. 170Contains the protocol version 2 DSA authentication identity of the user.
170.It Pa ~/.ssh/id_ecdsa 171.It Pa ~/.ssh/id_ecdsa
171Contains the protocol version 2 ECDSA authentication identity of the user. 172Contains the protocol version 2 ECDSA authentication identity of the user.
173.It Pa ~/.ssh/id_ed25519
174Contains the protocol version 2 ED25519 authentication identity of the user.
172.It Pa ~/.ssh/id_rsa 175.It Pa ~/.ssh/id_rsa
173Contains the protocol version 2 RSA authentication identity of the user. 176Contains the protocol version 2 RSA authentication identity of the user.
174.El 177.El
diff --git a/ssh-agent.1 b/ssh-agent.1
index bb801c902..281ecbdcf 100644
--- a/ssh-agent.1
+++ b/ssh-agent.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-agent.1,v 1.53 2010/11/21 01:01:13 djm Exp $ 1.\" $OpenBSD: ssh-agent.1,v 1.54 2013/12/07 11:58:46 naddy Exp $
2.\" 2.\"
3.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.Dd $Mdocdate: November 21 2010 $ 37.Dd $Mdocdate: December 7 2013 $
38.Dt SSH-AGENT 1 38.Dt SSH-AGENT 1
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -53,7 +53,7 @@
53.Sh DESCRIPTION 53.Sh DESCRIPTION
54.Nm 54.Nm
55is a program to hold private keys used for public key authentication 55is a program to hold private keys used for public key authentication
56(RSA, DSA, ECDSA). 56(RSA, DSA, ECDSA, ED25519).
57The idea is that 57The idea is that
58.Nm 58.Nm
59is started in the beginning of an X-session or a login session, and 59is started in the beginning of an X-session or a login session, and
@@ -115,7 +115,8 @@ When executed without arguments,
115adds the files 115adds the files
116.Pa ~/.ssh/id_rsa , 116.Pa ~/.ssh/id_rsa ,
117.Pa ~/.ssh/id_dsa , 117.Pa ~/.ssh/id_dsa ,
118.Pa ~/.ssh/id_ecdsa 118.Pa ~/.ssh/id_ecdsa ,
119.Pa ~/.ssh/id_ed25519
119and 120and
120.Pa ~/.ssh/identity . 121.Pa ~/.ssh/identity .
121If the identity has a passphrase, 122If the identity has a passphrase,
@@ -190,6 +191,8 @@ Contains the protocol version 1 RSA authentication identity of the user.
190Contains the protocol version 2 DSA authentication identity of the user. 191Contains the protocol version 2 DSA authentication identity of the user.
191.It Pa ~/.ssh/id_ecdsa 192.It Pa ~/.ssh/id_ecdsa
192Contains the protocol version 2 ECDSA authentication identity of the user. 193Contains the protocol version 2 ECDSA authentication identity of the user.
194.It Pa ~/.ssh/id_ed25519
195Contains the protocol version 2 ED25519 authentication identity of the user.
193.It Pa ~/.ssh/id_rsa 196.It Pa ~/.ssh/id_rsa
194Contains the protocol version 2 RSA authentication identity of the user. 197Contains the protocol version 2 RSA authentication identity of the user.
195.It Pa $TMPDIR/ssh-XXXXXXXXXX/agent.\*(Ltppid\*(Gt 198.It Pa $TMPDIR/ssh-XXXXXXXXXX/agent.\*(Ltppid\*(Gt
diff --git a/ssh-keygen.1 b/ssh-keygen.1
index 689db22ff..09e401bf8 100644
--- a/ssh-keygen.1
+++ b/ssh-keygen.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keygen.1,v 1.117 2013/12/07 08:08:26 djm Exp $ 1.\" $OpenBSD: ssh-keygen.1,v 1.118 2013/12/07 11:58:46 naddy Exp $
2.\" 2.\"
3.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -139,8 +139,8 @@
139generates, manages and converts authentication keys for 139generates, manages and converts authentication keys for
140.Xr ssh 1 . 140.Xr ssh 1 .
141.Nm 141.Nm
142can create RSA keys for use by SSH protocol version 1 and DSA, ECDSA or RSA 142can create RSA keys for use by SSH protocol version 1 and
143keys for use by SSH protocol version 2. 143DSA, ECDSA, ED25519 or RSA keys for use by SSH protocol version 2.
144The type of key to be generated is specified with the 144The type of key to be generated is specified with the
145.Fl t 145.Fl t
146option. 146option.
@@ -167,8 +167,9 @@ Normally each user wishing to use SSH
167with public key authentication runs this once to create the authentication 167with public key authentication runs this once to create the authentication
168key in 168key in
169.Pa ~/.ssh/identity , 169.Pa ~/.ssh/identity ,
170.Pa ~/.ssh/id_dsa ,
170.Pa ~/.ssh/id_ecdsa , 171.Pa ~/.ssh/id_ecdsa ,
171.Pa ~/.ssh/id_dsa 172.Pa ~/.ssh/id_ed25519
172or 173or
173.Pa ~/.ssh/id_rsa . 174.Pa ~/.ssh/id_rsa .
174Additionally, the system administrator may use this to generate host keys, 175Additionally, the system administrator may use this to generate host keys,
@@ -216,7 +217,8 @@ should be placed to be activated.
216The options are as follows: 217The options are as follows:
217.Bl -tag -width Ds 218.Bl -tag -width Ds
218.It Fl A 219.It Fl A
219For each of the key types (rsa1, rsa, dsa and ecdsa) for which host keys 220For each of the key types (rsa1, rsa, dsa, ecdsa and ed25519)
221for which host keys
220do not exist, generate the host keys with the default key file path, 222do not exist, generate the host keys with the default key file path,
221an empty passphrase, default bits for the key type, and default comment. 223an empty passphrase, default bits for the key type, and default comment.
222This is used by 224This is used by
@@ -249,6 +251,9 @@ flag determines the key length by selecting from one of three elliptic
249curve sizes: 256, 384 or 521 bits. 251curve sizes: 256, 384 or 521 bits.
250Attempting to use bit lengths other than these three values for ECDSA keys 252Attempting to use bit lengths other than these three values for ECDSA keys
251will fail. 253will fail.
254ED25519 keys have a fixed length and the
255.Fl b
256flag will be ignored.
252.It Fl C Ar comment 257.It Fl C Ar comment
253Provides a new comment. 258Provides a new comment.
254.It Fl c 259.It Fl c
@@ -515,7 +520,8 @@ The possible values are
515.Dq rsa1 520.Dq rsa1
516for protocol version 1 and 521for protocol version 1 and
517.Dq dsa , 522.Dq dsa ,
518.Dq ecdsa 523.Dq ecdsa ,
524.Dq ed25519 ,
519or 525or
520.Dq rsa 526.Dq rsa
521for protocol version 2. 527for protocol version 2.
@@ -795,8 +801,10 @@ There is no need to keep the contents of this file secret.
795.Pp 801.Pp
796.It Pa ~/.ssh/id_dsa 802.It Pa ~/.ssh/id_dsa
797.It Pa ~/.ssh/id_ecdsa 803.It Pa ~/.ssh/id_ecdsa
804.It Pa ~/.ssh/id_ed25519
798.It Pa ~/.ssh/id_rsa 805.It Pa ~/.ssh/id_rsa
799Contains the protocol version 2 DSA, ECDSA or RSA authentication identity of the user. 806Contains the protocol version 2 DSA, ECDSA, ED25519 or RSA
807authentication identity of the user.
800This file should not be readable by anyone but the user. 808This file should not be readable by anyone but the user.
801It is possible to 809It is possible to
802specify a passphrase when generating the key; that passphrase will be 810specify a passphrase when generating the key; that passphrase will be
@@ -809,8 +817,10 @@ will read this file when a login attempt is made.
809.Pp 817.Pp
810.It Pa ~/.ssh/id_dsa.pub 818.It Pa ~/.ssh/id_dsa.pub
811.It Pa ~/.ssh/id_ecdsa.pub 819.It Pa ~/.ssh/id_ecdsa.pub
820.It Pa ~/.ssh/id_ed25519.pub
812.It Pa ~/.ssh/id_rsa.pub 821.It Pa ~/.ssh/id_rsa.pub
813Contains the protocol version 2 DSA, ECDSA or RSA public key for authentication. 822Contains the protocol version 2 DSA, ECDSA, ED25519 or RSA
823public key for authentication.
814The contents of this file should be added to 824The contents of this file should be added to
815.Pa ~/.ssh/authorized_keys 825.Pa ~/.ssh/authorized_keys
816on all machines 826on all machines
diff --git a/ssh-keyscan.1 b/ssh-keyscan.1
index 79dd6aa1c..65ef43efd 100644
--- a/ssh-keyscan.1
+++ b/ssh-keyscan.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keyscan.1,v 1.32 2013/12/06 13:39:49 markus Exp $ 1.\" $OpenBSD: ssh-keyscan.1,v 1.33 2013/12/07 11:58:46 naddy Exp $
2.\" 2.\"
3.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. 3.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
4.\" 4.\"
@@ -6,7 +6,7 @@
6.\" permitted provided that due credit is given to the author and the 6.\" permitted provided that due credit is given to the author and the
7.\" OpenBSD project by leaving this copyright notice intact. 7.\" OpenBSD project by leaving this copyright notice intact.
8.\" 8.\"
9.Dd $Mdocdate: December 6 2013 $ 9.Dd $Mdocdate: December 7 2013 $
10.Dt SSH-KEYSCAN 1 10.Dt SSH-KEYSCAN 1
11.Os 11.Os
12.Sh NAME 12.Sh NAME
@@ -89,7 +89,8 @@ The possible values are
89.Dq rsa1 89.Dq rsa1
90for protocol version 1 and 90for protocol version 1 and
91.Dq dsa , 91.Dq dsa ,
92.Dq ecdsa 92.Dq ecdsa ,
93.Dq ed25519 ,
93or 94or
94.Dq rsa 95.Dq rsa
95for protocol version 2. 96for protocol version 2.
diff --git a/ssh-keysign.8 b/ssh-keysign.8
index 5e0b2d232..69d082954 100644
--- a/ssh-keysign.8
+++ b/ssh-keysign.8
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keysign.8,v 1.13 2013/07/16 00:07:52 schwarze Exp $ 1.\" $OpenBSD: ssh-keysign.8,v 1.14 2013/12/07 11:58:46 naddy Exp $
2.\" 2.\"
3.\" Copyright (c) 2002 Markus Friedl. All rights reserved. 3.\" Copyright (c) 2002 Markus Friedl. All rights reserved.
4.\" 4.\"
@@ -22,7 +22,7 @@
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\" 24.\"
25.Dd $Mdocdate: July 16 2013 $ 25.Dd $Mdocdate: December 7 2013 $
26.Dt SSH-KEYSIGN 8 26.Dt SSH-KEYSIGN 8
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -63,6 +63,7 @@ is enabled.
63.Pp 63.Pp
64.It Pa /etc/ssh/ssh_host_dsa_key 64.It Pa /etc/ssh/ssh_host_dsa_key
65.It Pa /etc/ssh/ssh_host_ecdsa_key 65.It Pa /etc/ssh/ssh_host_ecdsa_key
66.It Pa /etc/ssh/ssh_host_ed25519_key
66.It Pa /etc/ssh/ssh_host_rsa_key 67.It Pa /etc/ssh/ssh_host_rsa_key
67These files contain the private parts of the host keys used to 68These files contain the private parts of the host keys used to
68generate the digital signature. 69generate the digital signature.
@@ -74,6 +75,7 @@ must be set-uid root if host-based authentication is used.
74.Pp 75.Pp
75.It Pa /etc/ssh/ssh_host_dsa_key-cert.pub 76.It Pa /etc/ssh/ssh_host_dsa_key-cert.pub
76.It Pa /etc/ssh/ssh_host_ecdsa_key-cert.pub 77.It Pa /etc/ssh/ssh_host_ecdsa_key-cert.pub
78.It Pa /etc/ssh/ssh_host_ed25519_key-cert.pub
77.It Pa /etc/ssh/ssh_host_rsa_key-cert.pub 79.It Pa /etc/ssh/ssh_host_rsa_key-cert.pub
78If these files exist they are assumed to contain public certificate 80If these files exist they are assumed to contain public certificate
79information corresponding with the private keys above. 81information corresponding with the private keys above.
diff --git a/ssh.1 b/ssh.1
index fc56997f4..27794e2d0 100644
--- a/ssh.1
+++ b/ssh.1
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: ssh.1,v 1.342 2013/11/26 12:14:54 jmc Exp $ 36.\" $OpenBSD: ssh.1,v 1.343 2013/12/07 11:58:46 naddy Exp $
37.Dd $Mdocdate: November 26 2013 $ 37.Dd $Mdocdate: December 7 2013 $
38.Dt SSH 1 38.Dt SSH 1
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -279,7 +279,8 @@ The default is
279.Pa ~/.ssh/identity 279.Pa ~/.ssh/identity
280for protocol version 1, and 280for protocol version 1, and
281.Pa ~/.ssh/id_dsa , 281.Pa ~/.ssh/id_dsa ,
282.Pa ~/.ssh/id_ecdsa 282.Pa ~/.ssh/id_ecdsa ,
283.Pa ~/.ssh/id_ed25519
283and 284and
284.Pa ~/.ssh/id_rsa 285.Pa ~/.ssh/id_rsa
285for protocol version 2. 286for protocol version 2.
@@ -757,7 +758,7 @@ key pair for authentication purposes.
757The server knows the public key, and only the user knows the private key. 758The server knows the public key, and only the user knows the private key.
758.Nm 759.Nm
759implements public key authentication protocol automatically, 760implements public key authentication protocol automatically,
760using one of the DSA, ECDSA or RSA algorithms. 761using one of the DSA, ECDSA, ED25519 or RSA algorithms.
761Protocol 1 is restricted to using only RSA keys, 762Protocol 1 is restricted to using only RSA keys,
762but protocol 2 may use any. 763but protocol 2 may use any.
763The HISTORY section of 764The HISTORY section of
@@ -784,6 +785,8 @@ This stores the private key in
784(protocol 2 DSA), 785(protocol 2 DSA),
785.Pa ~/.ssh/id_ecdsa 786.Pa ~/.ssh/id_ecdsa
786(protocol 2 ECDSA), 787(protocol 2 ECDSA),
788.Pa ~/.ssh/id_ed25519
789(protocol 2 ED25519),
787or 790or
788.Pa ~/.ssh/id_rsa 791.Pa ~/.ssh/id_rsa
789(protocol 2 RSA) 792(protocol 2 RSA)
@@ -794,6 +797,8 @@ and stores the public key in
794(protocol 2 DSA), 797(protocol 2 DSA),
795.Pa ~/.ssh/id_ecdsa.pub 798.Pa ~/.ssh/id_ecdsa.pub
796(protocol 2 ECDSA), 799(protocol 2 ECDSA),
800.Pa ~/.ssh/id_ed25519.pub
801(protocol 2 ED25519),
797or 802or
798.Pa ~/.ssh/id_rsa.pub 803.Pa ~/.ssh/id_rsa.pub
799(protocol 2 RSA) 804(protocol 2 RSA)
@@ -1333,8 +1338,8 @@ secret, but the recommended permissions are read/write/execute for the user,
1333and not accessible by others. 1338and not accessible by others.
1334.Pp 1339.Pp
1335.It Pa ~/.ssh/authorized_keys 1340.It Pa ~/.ssh/authorized_keys
1336Lists the public keys (DSA/ECDSA/RSA) that can be used for logging in as 1341Lists the public keys (DSA, ECDSA, ED25519, RSA)
1337this user. 1342that can be used for logging in as this user.
1338The format of this file is described in the 1343The format of this file is described in the
1339.Xr sshd 8 1344.Xr sshd 8
1340manual page. 1345manual page.
@@ -1356,6 +1361,7 @@ above.
1356.It Pa ~/.ssh/identity 1361.It Pa ~/.ssh/identity
1357.It Pa ~/.ssh/id_dsa 1362.It Pa ~/.ssh/id_dsa
1358.It Pa ~/.ssh/id_ecdsa 1363.It Pa ~/.ssh/id_ecdsa
1364.It Pa ~/.ssh/id_ed25519
1359.It Pa ~/.ssh/id_rsa 1365.It Pa ~/.ssh/id_rsa
1360Contains the private key for authentication. 1366Contains the private key for authentication.
1361These files 1367These files
@@ -1370,6 +1376,7 @@ sensitive part of this file using 3DES.
1370.It Pa ~/.ssh/identity.pub 1376.It Pa ~/.ssh/identity.pub
1371.It Pa ~/.ssh/id_dsa.pub 1377.It Pa ~/.ssh/id_dsa.pub
1372.It Pa ~/.ssh/id_ecdsa.pub 1378.It Pa ~/.ssh/id_ecdsa.pub
1379.It Pa ~/.ssh/id_ed25519.pub
1373.It Pa ~/.ssh/id_rsa.pub 1380.It Pa ~/.ssh/id_rsa.pub
1374Contains the public key for authentication. 1381Contains the public key for authentication.
1375These files are not 1382These files are not
@@ -1409,6 +1416,7 @@ The file format and configuration options are described in
1409.It Pa /etc/ssh/ssh_host_key 1416.It Pa /etc/ssh/ssh_host_key
1410.It Pa /etc/ssh/ssh_host_dsa_key 1417.It Pa /etc/ssh/ssh_host_dsa_key
1411.It Pa /etc/ssh/ssh_host_ecdsa_key 1418.It Pa /etc/ssh/ssh_host_ecdsa_key
1419.It Pa /etc/ssh/ssh_host_ed25519_key
1412.It Pa /etc/ssh/ssh_host_rsa_key 1420.It Pa /etc/ssh/ssh_host_rsa_key
1413These files contain the private parts of the host keys 1421These files contain the private parts of the host keys
1414and are used for host-based authentication. 1422and are used for host-based authentication.
diff --git a/ssh_config.5 b/ssh_config.5
index 43455342a..7b2fdacbb 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: ssh_config.5,v 1.182 2013/12/06 13:39:49 markus Exp $ 36.\" $OpenBSD: ssh_config.5,v 1.183 2013/12/07 11:58:46 naddy Exp $
37.Dd $Mdocdate: December 6 2013 $ 37.Dd $Mdocdate: December 7 2013 $
38.Dt SSH_CONFIG 5 38.Dt SSH_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -718,6 +718,7 @@ The default for this option is:
718ecdsa-sha2-nistp256-cert-v01@openssh.com, 718ecdsa-sha2-nistp256-cert-v01@openssh.com,
719ecdsa-sha2-nistp384-cert-v01@openssh.com, 719ecdsa-sha2-nistp384-cert-v01@openssh.com,
720ecdsa-sha2-nistp521-cert-v01@openssh.com, 720ecdsa-sha2-nistp521-cert-v01@openssh.com,
721ssh-ed25519-cert-v01@openssh.com,
721ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com, 722ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,
722ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com, 723ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,
723ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521, 724ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
@@ -763,13 +764,14 @@ offers many different identities.
763The default is 764The default is
764.Dq no . 765.Dq no .
765.It Cm IdentityFile 766.It Cm IdentityFile
766Specifies a file from which the user's DSA, ECDSA or RSA authentication 767Specifies a file from which the user's DSA, ECDSA, ED25519 or RSA authentication
767identity is read. 768identity is read.
768The default is 769The default is
769.Pa ~/.ssh/identity 770.Pa ~/.ssh/identity
770for protocol version 1, and 771for protocol version 1, and
771.Pa ~/.ssh/id_dsa , 772.Pa ~/.ssh/id_dsa ,
772.Pa ~/.ssh/id_ecdsa 773.Pa ~/.ssh/id_ecdsa ,
774.Pa ~/.ssh/id_ed25519
773and 775and
774.Pa ~/.ssh/id_rsa 776.Pa ~/.ssh/id_rsa
775for protocol version 2. 777for protocol version 2.
diff --git a/sshd.8 b/sshd.8
index 62615bf6d..e6a900b06 100644
--- a/sshd.8
+++ b/sshd.8
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: sshd.8,v 1.272 2013/12/06 15:29:07 jmc Exp $ 36.\" $OpenBSD: sshd.8,v 1.273 2013/12/07 11:58:46 naddy Exp $
37.Dd $Mdocdate: December 6 2013 $ 37.Dd $Mdocdate: December 7 2013 $
38.Dt SSHD 8 38.Dt SSHD 8
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -175,7 +175,8 @@ The default is
175.Pa /etc/ssh/ssh_host_key 175.Pa /etc/ssh/ssh_host_key
176for protocol version 1, and 176for protocol version 1, and
177.Pa /etc/ssh/ssh_host_dsa_key , 177.Pa /etc/ssh/ssh_host_dsa_key ,
178.Pa /etc/ssh/ssh_host_ecdsa_key 178.Pa /etc/ssh/ssh_host_ecdsa_key .
179.Pa /etc/ssh/ssh_host_ed25519_key
179and 180and
180.Pa /etc/ssh/ssh_host_rsa_key 181.Pa /etc/ssh/ssh_host_rsa_key
181for protocol version 2. 182for protocol version 2.
@@ -280,7 +281,7 @@ though this can be changed via the
280.Cm Protocol 281.Cm Protocol
281option in 282option in
282.Xr sshd_config 5 . 283.Xr sshd_config 5 .
283Protocol 2 supports DSA, ECDSA and RSA keys; 284Protocol 2 supports DSA, ECDSA, ED25519 and RSA keys;
284protocol 1 only supports RSA keys. 285protocol 1 only supports RSA keys.
285For both protocols, 286For both protocols,
286each host has a host-specific key, 287each host has a host-specific key,
@@ -507,6 +508,7 @@ You don't want to type them in; instead, copy the
507.Pa identity.pub , 508.Pa identity.pub ,
508.Pa id_dsa.pub , 509.Pa id_dsa.pub ,
509.Pa id_ecdsa.pub , 510.Pa id_ecdsa.pub ,
511.Pa id_ed25519.pub ,
510or the 512or the
511.Pa id_rsa.pub 513.Pa id_rsa.pub
512file and edit it. 514file and edit it.
@@ -806,8 +808,8 @@ secret, but the recommended permissions are read/write/execute for the user,
806and not accessible by others. 808and not accessible by others.
807.Pp 809.Pp
808.It Pa ~/.ssh/authorized_keys 810.It Pa ~/.ssh/authorized_keys
809Lists the public keys (DSA/ECDSA/RSA) that can be used for logging in 811Lists the public keys (DSA, ECDSA, ED25519, RSA)
810as this user. 812that can be used for logging in as this user.
811The format of this file is described above. 813The format of this file is described above.
812The content of the file is not highly sensitive, but the recommended 814The content of the file is not highly sensitive, but the recommended
813permissions are read/write for the user, and not accessible by others. 815permissions are read/write for the user, and not accessible by others.
@@ -887,6 +889,7 @@ rlogin/rsh.
887.It Pa /etc/ssh/ssh_host_key 889.It Pa /etc/ssh/ssh_host_key
888.It Pa /etc/ssh/ssh_host_dsa_key 890.It Pa /etc/ssh/ssh_host_dsa_key
889.It Pa /etc/ssh/ssh_host_ecdsa_key 891.It Pa /etc/ssh/ssh_host_ecdsa_key
892.It Pa /etc/ssh/ssh_host_ed25519_key
890.It Pa /etc/ssh/ssh_host_rsa_key 893.It Pa /etc/ssh/ssh_host_rsa_key
891These files contain the private parts of the host keys. 894These files contain the private parts of the host keys.
892These files should only be owned by root, readable only by root, and not 895These 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.
898.It Pa /etc/ssh/ssh_host_key.pub 901.It Pa /etc/ssh/ssh_host_key.pub
899.It Pa /etc/ssh/ssh_host_dsa_key.pub 902.It Pa /etc/ssh/ssh_host_dsa_key.pub
900.It Pa /etc/ssh/ssh_host_ecdsa_key.pub 903.It Pa /etc/ssh/ssh_host_ecdsa_key.pub
904.It Pa /etc/ssh/ssh_host_ed25519_key.pub
901.It Pa /etc/ssh/ssh_host_rsa_key.pub 905.It Pa /etc/ssh/ssh_host_rsa_key.pub
902These files contain the public parts of the host keys. 906These files contain the public parts of the host keys.
903These files should be world-readable but writable only by 907These files should be world-readable but writable only by
diff --git a/sshd_config.5 b/sshd_config.5
index 0418c86ed..0ae1740bb 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: sshd_config.5,v 1.168 2013/11/21 08:05:09 jmc Exp $ 36.\" $OpenBSD: sshd_config.5,v 1.169 2013/12/07 11:58:46 naddy Exp $
37.Dd $Mdocdate: November 21 2013 $ 37.Dd $Mdocdate: December 7 2013 $
38.Dt SSHD_CONFIG 5 38.Dt SSHD_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -540,7 +540,8 @@ The default is
540.Pa /etc/ssh/ssh_host_key 540.Pa /etc/ssh/ssh_host_key
541for protocol version 1, and 541for protocol version 1, and
542.Pa /etc/ssh/ssh_host_dsa_key , 542.Pa /etc/ssh/ssh_host_dsa_key ,
543.Pa /etc/ssh/ssh_host_ecdsa_key 543.Pa /etc/ssh/ssh_host_ecdsa_key ,
544.Pa /etc/ssh/ssh_host_ed25519_key
544and 545and
545.Pa /etc/ssh/ssh_host_rsa_key 546.Pa /etc/ssh/ssh_host_rsa_key
546for protocol version 2. 547for protocol version 2.
@@ -551,7 +552,8 @@ It is possible to have multiple host key files.
551.Dq rsa1 552.Dq rsa1
552keys are used for version 1 and 553keys are used for version 1 and
553.Dq dsa , 554.Dq dsa ,
554.Dq ecdsa 555.Dq ecdsa ,
556.Dq ed25519
555or 557or
556.Dq rsa 558.Dq rsa
557are used for version 2 of the SSH protocol. 559are used for version 2 of the SSH protocol.