Hi all, This sync /etc with recent ECDSA changes.
Index: etc/rc =================================================================== RCS file: /cvs/src/etc/rc,v retrieving revision 1.340 diff -u -r1.340 rc --- etc/rc 27 Jul 2010 08:37:33 -0000 1.340 +++ etc/rc 6 Sep 2010 07:30:21 -0000 @@ -615,6 +615,14 @@ echo failed. fi fi +if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then + echo -n "ssh-keygen: generating new ECDSA host key... " + if /usr/bin/ssh-keygen -q -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ''; then + echo done. + else + echo failed. + fi +fi if [ ! -f /etc/ssh/ssh_host_key ]; then echo -n "ssh-keygen: generating new RSA1 host key... " if /usr/bin/ssh-keygen -q -t rsa1 -f /etc/ssh/ssh_host_key -N ''; then Index: etc/changelist =================================================================== RCS file: /cvs/src/etc/changelist,v retrieving revision 1.68 diff -u -r1.68 changelist --- etc/changelist 29 Jun 2010 17:17:53 -0000 1.68 +++ etc/changelist 6 Sep 2010 07:30:21 -0000 @@ -129,6 +129,8 @@ /etc/ssh/ssh_config +/etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub ++/etc/ssh/ssh_host_ecdsa_key +/etc/ssh/ssh_host_ecdsa_key.pub +/etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub +/etc/ssh/ssh_host_rsa_key Index: etc/mtree/special =================================================================== RCS file: /cvs/src/etc/mtree/special,v retrieving revision 1.88 diff -u -r1.88 special --- etc/mtree/special 7 Jun 2010 14:15:27 -0000 1.88 +++ etc/mtree/special 6 Sep 2010 07:30:21 -0000 @@ -96,6 +96,8 @@ ssh_config type=file mode=0644 uname=root gname=wheel ssh_host_dsa_key type=file mode=0600 uname=root gname=wheel optional ssh_host_dsa_key.pub type=file mode=0644 uname=root gname=wheel optional +ssh_host_ecdsa_key type=file mode=0600 uname=root gname=wheel optional +ssh_host_ecdsa_key.pub type=file mode=0644 uname=root gname=wheel optional ssh_host_key type=file mode=0600 uname=root gname=wheel optional ssh_host_key.pub type=file mode=0644 uname=root gname=wheel optional ssh_host_rsa_key type=file mode=0600 uname=root gname=wheel optional Index: usr.bin/ssh/sshd_config =================================================================== RCS file: /cvs/src/usr.bin/ssh/sshd_config,v retrieving revision 1.81 diff -u -r1.81 sshd_config --- usr.bin/ssh/sshd_config 8 Oct 2009 14:03:41 -0000 1.81 +++ usr.bin/ssh/sshd_config 6 Sep 2010 07:30:21 -0000 @@ -21,6 +21,7 @@ # HostKeys for protocol version 2 #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key +#HostKey /etc/ssh/ssh_host_ecdsa_key # Lifetime and size of ephemeral version 1 server key #KeyRegenerationInterval 1h Cheers, -- Mattieu Baptiste "/earth is 102% full ... please delete anyone you can."