From owner-freebsd-questions@FreeBSD.ORG Wed Sep 6 18:41:25 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 EF2BE16A501 for ; Wed, 6 Sep 2006 18:41:25 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72B3143D6D for ; Wed, 6 Sep 2006 18:41:25 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 06 Sep 2006 14:41:24 -0400 id 00056419.44FF1654.00001293 Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 6 Sep 2006 14:39:28 -0400 Date: Wed, 6 Sep 2006 14:41:23 -0400 From: Bill Moran To: g Message-Id: <20060906144123.5c6cad3a.wmoran@collaborativefusion.com> In-Reply-To: <1DCB2E8B-7372-41F2-ADAF-9BC8697227B3@mac.com> References: <1DCB2E8B-7372-41F2-ADAF-9BC8697227B3@mac.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:26 -0000 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.