[Bug 208254] rc.d/sshd failes to generate all referenced ssh host keys.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 24 03:18:39 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208254

            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 at FreeBSD.org
          Reporter: peter at FreeBSD.org

By default, sshd expects /etc/ssh/ssh_host_dsa_key to exist.  /etc/rc.d/sshd 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 
...
: ${sshd_dsa_enable:="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 
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 smarter
about this.  It can't spam this on the console for every connection.

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


More information about the freebsd-bugs mailing list