Date: Tue, 11 Jul 2000 10:53:41 +1000 From: Nick Slager <nicks@albury.net.au> To: Ron Smith <ronnetron@hotmail.com> Cc: freebsd-security@FreeBSD.ORG Subject: Re: OpenSSH Message-ID: <20000711105341.A33785@albury.net.au> In-Reply-To: <20000711004807.52885.qmail@hotmail.com>; from ronnetron@hotmail.com on Mon, Jul 10, 2000 at 05:48:06PM -0700 References: <20000711004807.52885.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Ron Smith (ronnetron@hotmail.com): > This is probably a simple problem. I'm setting up 'sshd' on a FreeBSD > 4.0-RELEASE box, but I can't start '/usr/sbin/sshd'. I get the following > error message: > > error: Could not load host key: /etc/ssh/ssh_host_key: No such file or > directory You need to generate an RSA host key for the box. Something like: /usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key as root should do the trick. If you have ssh_enable set to "YES" in /etc/rc.conf, the key will be generated automatically on reboot if it doesn't exist. Regards, Nick. -- From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000711105341.A33785>