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@FreeBSD.org
          Reporter: pe...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to