From owner-svn-src-all@freebsd.org Fri Feb 5 17:11:43 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1278A77CE0; Fri, 5 Feb 2016 17:11:43 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from shxd.cx (mail.shxd.cx [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 924BFD8B; Fri, 5 Feb 2016 17:11:43 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from [64.201.244.132] (port=55800 helo=[10.0.0.113]) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1aRjv3-000ERH-Da; Fri, 05 Feb 2016 09:11:41 -0800 Message-ID: <1454692300.9388.110.camel@FreeBSD.org> Subject: Re: svn commit: r294560 - head/etc/rc.d From: Devin Teske To: Slawa Olhovchenkov , Bryan Drewery Cc: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Devin Teske Date: Fri, 05 Feb 2016 09:11:40 -0800 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> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: devin@shxd.cx X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 17:11:43 -0000 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