From owner-freebsd-security Mon Jul 10 17:53:53 2000 Delivered-To: freebsd-security@freebsd.org Received: from dastor.albury.net.au (dastor.albury.NET.AU [203.15.244.203]) by hub.freebsd.org (Postfix) with ESMTP id 6637837B985 for ; Mon, 10 Jul 2000 17:53:49 -0700 (PDT) (envelope-from nicks@dastor.albury.net.au) Received: (from nicks@localhost) by dastor.albury.net.au (8.10.2/8.10.2) id e6B0rfB34167; Tue, 11 Jul 2000 10:53:41 +1000 (EST) Date: Tue, 11 Jul 2000 10:53:41 +1000 From: Nick Slager To: Ron Smith Cc: freebsd-security@FreeBSD.ORG Subject: Re: OpenSSH Message-ID: <20000711105341.A33785@albury.net.au> References: <20000711004807.52885.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000711004807.52885.qmail@hotmail.com>; from ronnetron@hotmail.com on Mon, Jul 10, 2000 at 05:48:06PM -0700 X-Homer: Whoohooooooo! Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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