From owner-freebsd-newbies Mon Jul 3 13:59:35 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 62F8A37C211; Mon, 3 Jul 2000 13:59:25 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 139CYz-0005bG-00; Mon, 03 Jul 2000 21:11:29 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 139CYz-000PIB-00; Mon, 03 Jul 2000 21:11:29 +0100 Date: Mon, 3 Jul 2000 21:11:29 +0100 From: Ben Smithurst To: Ron Smith Cc: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Apache and ssh Message-ID: <20000703211129.B48373@strontium.scientia.demon.co.uk> References: <20000703170922.44880.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="M8g8Xvd1npd+rU3W" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000703170922.44880.qmail@hotmail.com> Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --M8g8Xvd1npd+rU3W Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ron Smith wrote: > Also, I would like to use 'ssh' on this machine, but when I try to run th= e=20 > deamon, '/usr/sbin/sshd', I get the following error message: >=20 > error: Could not load host key: /etc/ssh/ssh_host_key: No such file or=20 > directory Put sshd_enable=3DYES in /etc/rc.conf and the host key will be created on your next reboot (and sshd will be automatically started of course). Or you can do it before then (you don't reboot for a little thing like this), the appropriate commands are in /etc/rc.network: /usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key --=20 Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D --M8g8Xvd1npd+rU3W Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: I38mCv09YGRuPQseQbqhEEfs9iVk9edH iQCVAwUBOWDzcCsPVtiZOS99AQFwlQP/Um1FGYZaINegXvAHc47SIk5hfWJWsNQy NtBeIsV57RsLiesoWPCI+1WFW0zjS1cjxrhXpnPK+23Finje24+ufFG2ILkcmKkf 7C3LJqBNdx2JCCdUay4JIlLiJd4QEd50+mq637hIBM093f1ZcR6oqxc8L59fII01 bGuQ2PIJjAM= =ttrB -----END PGP SIGNATURE----- --M8g8Xvd1npd+rU3W-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message