From owner-freebsd-questions@FreeBSD.ORG Wed Sep 6 18:41:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6D4716A525 for ; Wed, 6 Sep 2006 18:41:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC53B43D7C for ; Wed, 6 Sep 2006 18:41:04 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id k86IeeXx068206; Wed, 6 Sep 2006 19:40:40 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk k86IeeXx068206 Message-ID: <44FF1617.20303@infracaninophile.co.uk> Date: Wed, 06 Sep 2006 19:40:23 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: g References: <1DCB2E8B-7372-41F2-ADAF-9BC8697227B3@mac.com> In-Reply-To: <1DCB2E8B-7372-41F2-ADAF-9BC8697227B3@mac.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig960ECA96789AE8D4FDA0A27B" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 06 Sep 2006 19:41:00 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.4/1815/Wed Sep 6 16:42:27 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_POLICY_TESTING, NO_RELAYS autolearn=ham version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: installing ssh after freebsd has been installed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 18:41:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig960ECA96789AE8D4FDA0A27B Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable g wrote: > how do is install ssh once i've installed freebsd 6.1? >=20 > i used sysinstall. check ssh in the networking section. ok'ed my and > exited my way back to the system prompt. >=20 > as root i typed /usr/sbin/sshd >=20 > i get from the system: >=20 > 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. >=20 > do i need to reinstall the os, 6.1, in-order for it to setup ssh and > create those files, ssh_host_ ...? >=20 The system startup script for sshd will create any necessary key files if= they are missing. Try the following: # killall sshd # /etc/rc.d/sshd start Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig960ECA96789AE8D4FDA0A27B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE/xYo8Mjk52CukIwRCOjxAJ9zIFPtT90v9+yOWV5Ui5htpeUK+QCeM729 wGvfkwqZVsyB+CNMyngHgkA= =C62T -----END PGP SIGNATURE----- --------------enig960ECA96789AE8D4FDA0A27B--