Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2016 03:18:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208254] rc.d/sshd failes to generate all referenced ssh host keys.
Message-ID:  <bug-208254-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208254

            Bug ID: 208254
           Summary: rc.d/sshd failes to generate all referenced ssh host
                    keys.
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: peter@FreeBSD.org

By default, sshd expects /etc/ssh/ssh_host_dsa_key to exist.  /etc/rc.d/ssh=
d no
longer generates it by default.  This leads to a lot of console noise for
every.. single.. incoming.. connection.


$ grep dsa etc/rc.d/sshd=20
...
: ${sshd_dsa_enable:=3D"no"}
...

(Test the default built-in configuration)
# sshd -t -f /dev/null
Could not load host key: /etc/ssh/ssh_host_dsa_key

(Test the default freebsd-11 configuration)
# sshd -t -f /etc/ssh/sshd_config=20
Could not load host key: /etc/ssh/ssh_host_dsa_key

The logical fix is to re-enable the host key generation until sshd is smart=
er
about this.  It can't spam this on the console for every connection.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208254-8>