From owner-freebsd-stable Wed Oct 11 19:53:37 2000 Delivered-To: freebsd-stable@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id 2568B37B503 for ; Wed, 11 Oct 2000 19:53:33 -0700 (PDT) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id TAA01112; Wed, 11 Oct 2000 19:53:24 -0700 Message-ID: <39E527A4.C614E5A9@urx.com> Date: Wed, 11 Oct 2000 19:53:24 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Alan Clegg Cc: Kevin LEE , "freebsd-stable@FreeBSD.ORG" Subject: Re: HowTo generate ssh_host_dsa_key key pairs References: <39E50C1A.FF9FFB55@esec.com.au> <39E513E4.7EE47315@urx.com> <20001011221536.B35107@diskfarm.firehouse.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alan Clegg wrote: > > Unless the network is lying to me again, Kent Stewart said: > > > > By meragemaster on work PC for 4.1.1, I fixed the initial reboot up sshd > > > error (ie cannot find /etc/ssh_host_dsa_key). > > > > > > Howerver, I try to do the meragemester at my home PC, the sshd error > > > still comes up. > > Look at /etc/rc.network. You will find: > > if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then > echo ' creating ssh DSA host key'; > /usr/bin/ssh-keygen -d -N "" -f /etc/ssh/ssh_host_dsa_key > fi > > If this is not working, then there is something else wrong. You don't need > to generate the keys manually. I hadn't seen that but ssh wouldn't connect to the remote site until I did it manually. Kent -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message