SSHD Failed to start.
-
Version 2.1-RC0 (i386) NanoBSD
built on Thu Jun 13 16:43:24 EDT 2013Error I'm getting: "php: : The command '/usr/sbin/sshd' returned exit code '1', the output was 'Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available – exiting.'"
Settings: default port, with the "Disable password login for Secure Shell (RSA/DSA key only)" unchecked.
Same settings were working on 2.1 beta before I upgraded to this build.
$ cat /etc/ssh/ssh_host_rsa_key # configuration file for newsyslog # $FreeBSD: src/etc/newsyslog.conf,v 1.52.2.1.8.2 2012/11/17 08:24:37 svnexp Exp $ # # Entries which do not specify the '/pid_file' field will cause the # syslogd process to be signalled when that log file is rotated. This # action is only appropriate for log files which are written to by the # syslogd process (ie, files listed in /etc/syslog.conf). If there # is no process which needs to be signalled when a given log file is # rotated, then the entry for that file should include the 'N' flag. # # The 'flags' field is one or more of the letters: BCGJNUWZ or a '-'. # # Note: some sites will want to select more restrictive protections than the # defaults. In particular, it may be desirable to switch many of the 644 # entries to 640 or 600. For example, some sites will consider the # contents of maillog, messages, and lpd-errs to be confidential. In the # future, these defaults may change to more conservative ones. # # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] /var/log/all.log 600 7 * @T00 J /var/log/amd.log 644 7 100 * J /var/log/auth.log 600 7 100 * JC /var/log/console.log 600 5 100 * J /var/log/cron 600 3 100 * JC /var/log/daily.log 640 7 * @T00 JN /var/log/debug.log 600 7 100 * JC /var/log/kerberos.log 600 7 100 * J /var/log/lpd-errs 644 7 100 * JC /var/log/maillog 640 7 * @T00 JC /var/log/messages 644 5 100 * JC /var/log/monthly.log 640 12 * $M1D0 JN /var/log/pflog 600 3 100 * JB /var/run/pflogd.pid /var/log/ppp.log root:network 640 3
The file /etc/ssh/ssh_host_dsa_key exists but is empty.
-
Looks like somehow the files got messed up on that disk. I'd be extremely suspicious of your CF failing.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.