Date: Mon, 3 Jul 2000 21:11:29 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Ron Smith <ronnetron@hotmail.com> Cc: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Apache and ssh Message-ID: <20000703211129.B48373@strontium.scientia.demon.co.uk> In-Reply-To: <20000703170922.44880.qmail@hotmail.com> References: <20000703170922.44880.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000703211129.B48373>