svn commit: r294560 - head/etc/rc.d

Devin Teske dteske at FreeBSD.org
Fri Feb 5 17:11:43 UTC 2016


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:
> 
> > 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.
> 

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.
-- 
Devin


More information about the svn-src-head mailing list