From owner-freebsd-questions@FreeBSD.ORG Wed Sep 6 19:01:55 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 2CB7016A4F0 for ; Wed, 6 Sep 2006 19:01:55 +0000 (UTC) (envelope-from g.one@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3B7A43DE1 for ; Wed, 6 Sep 2006 19:01:17 +0000 (GMT) (envelope-from g.one@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout07/MantshX 4.0) with ESMTP id k86J0t9b000674 for ; Wed, 6 Sep 2006 12:00:55 -0700 (PDT) Received: from [192.168.2.3] (cpe-065-191-021-225.nc.res.rr.com [65.191.21.225]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id k86J0nmD022118 for ; Wed, 6 Sep 2006 12:00:51 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20060906144123.5c6cad3a.wmoran@collaborativefusion.com> References: <1DCB2E8B-7372-41F2-ADAF-9BC8697227B3@mac.com> <20060906144123.5c6cad3a.wmoran@collaborativefusion.com> Message-Id: <1ABF35EC-ABB8-4388-A67A-68614282174D@mac.com> From: g Date: Wed, 6 Sep 2006 15:00:49 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAQAAA+k= X-Language-Identified: TRUE Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 19:01:55 -0000 Thanks, Bill and Matthew, your suggestions did the trick. g. On Sep 6, 2006, at 2:41 PM, Bill Moran wrote: > In response to g : > >> how do is install ssh once i've installed freebsd 6.1? >> >> i used sysinstall. check ssh in the networking section. ok'ed my >> and exited my way back to the system prompt. >> >> as root i typed /usr/sbin/sshd >> >> i get from the system: >> >> 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. >> >> do i need to reinstall the os, 6.1, in-order for it to setup ssh and >> create those files, ssh_host_ ...? > > Use the /etc/rc.d/sshd script to start/stop sshd. It will detect the > above condition and take care of it. > > Assuming you've set up your config files properly, you could also > reboot the system. > > -- > Bill Moran > Collaborative Fusion Inc. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" g.