Date: Fri, 05 Feb 2016 09:11:40 -0800 From: Devin Teske <dteske@FreeBSD.org> To: Slawa Olhovchenkov <slw@zxy.spb.ru>, Bryan Drewery <bdrewery@FreeBSD.org> Cc: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= <des@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Devin Teske <dteske@panzura.com> Subject: Re: svn commit: r294560 - head/etc/rc.d Message-ID: <1454692300.9388.110.camel@FreeBSD.org> In-Reply-To: <20160205102536.GY37895@zxy.spb.ru> References: <201601221214.u0MCE8Jk054031@repo.freebsd.org> <56B3DE8E.9020603@FreeBSD.org> <56B3E55F.3040004@FreeBSD.org> <20160205102536.GY37895@zxy.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2016-02-05 at 13:25 +0300, Slawa Olhovchenkov wrote: > On Thu, Feb 04, 2016 at 03:57:19PM -0800, Bryan Drewery wrote: >=20 > > On 2/4/2016 3:28 PM, Bryan Drewery wrote: > > > On 1/22/2016 4:14 AM, Dag-Erling Sm=F8rgrav wrote: > > > > Author: des > > > > Date: Fri Jan 22 12:14:08 2016 > > > > New Revision: 294560 > > > > URL: https://svnweb.freebsd.org/changeset/base/294560 > > > >=20 > > > > Log: > > > > Do not generate RSA1 or DSA keys by default. > > > >=20 > > > > Modified: > > > > head/etc/rc.d/sshd > > > >=20 > > > > Modified: head/etc/rc.d/sshd > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > --- head/etc/rc.d/sshd Fri Jan 22 12:00:56 2016 ( > > > > r294559) > > > > +++ head/etc/rc.d/sshd Fri Jan 22 12:14:08 2016 ( > > > > r294560) > > > > @@ -20,9 +20,9 @@ configtest_cmd=3D"sshd_configtest" > > > > pidfile=3D"/var/run/${name}.pid" > > > > extra_commands=3D"configtest keygen reload" > > > > =20 > > > > -: ${sshd_rsa1_enable:=3D"yes"} > > > > +: ${sshd_rsa1_enable:=3D"no"} > > > > : ${sshd_rsa_enable:=3D"yes"} > > > > -: ${sshd_dsa_enable:=3D"yes"} > > > > +: ${sshd_dsa_enable:=3D"no"} > > > > : ${sshd_ecdsa_enable:=3D"yes"} > > > > : ${sshd_ed25519_enable:=3D"yes"} > > > > =20 > > > >=20 > > >=20 > > > I think perhaps you should also remove these as having default > > > paths in > > > the .c as well and require they be enabled in the config. > > > Otherwise a > > > warning is given: > > >=20 > > > Feb 4 15:25:22 VM sshd[874]: error: Could not load host key: > > > /etc/ssh/ssh_host_dsa_key > >=20 > > This happens on every login even. It's quite annoying. >=20 > And no login too. >=20 At work, IT just provisioned an Ubuntu 15.10 box, where I had to diagnost the _exact_ same problem. Looks like Ubuntu tried the same thing and it had the same negative result. --=20 Devin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1454692300.9388.110.camel>