Date: Fri, 5 Feb 2016 13:25:36 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: Dag-Erling =?utf-8?B?U23DuHJncmF2?= <des@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r294560 - head/etc/rc.d Message-ID: <20160205102536.GY37895@zxy.spb.ru> In-Reply-To: <56B3E55F.3040004@FreeBSD.org> References: <201601221214.u0MCE8Jk054031@repo.freebsd.org> <56B3DE8E.9020603@FreeBSD.org> <56B3E55F.3040004@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 04, 2016 at 03:57:19PM -0800, Bryan Drewery wrote: > On 2/4/2016 3:28 PM, Bryan Drewery wrote: > > On 1/22/2016 4:14 AM, Dag-Erling Smørgrav wrote: > >> Author: des > >> Date: Fri Jan 22 12:14:08 2016 > >> New Revision: 294560 > >> URL: https://svnweb.freebsd.org/changeset/base/294560 > >> > >> Log: > >> Do not generate RSA1 or DSA keys by default. > >> > >> Modified: > >> head/etc/rc.d/sshd > >> > >> Modified: head/etc/rc.d/sshd > >> ============================================================================== > >> --- 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="sshd_configtest" > >> pidfile="/var/run/${name}.pid" > >> extra_commands="configtest keygen reload" > >> > >> -: ${sshd_rsa1_enable:="yes"} > >> +: ${sshd_rsa1_enable:="no"} > >> : ${sshd_rsa_enable:="yes"} > >> -: ${sshd_dsa_enable:="yes"} > >> +: ${sshd_dsa_enable:="no"} > >> : ${sshd_ecdsa_enable:="yes"} > >> : ${sshd_ed25519_enable:="yes"} > >> > >> > > > > 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: > > > > Feb 4 15:25:22 VM sshd[874]: error: Could not load host key: > > /etc/ssh/ssh_host_dsa_key > > This happens on every login even. It's quite annoying. And no login too.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160205102536.GY37895>