From owner-freebsd-stable Wed Oct 11 19:13:31 2000 Delivered-To: freebsd-stable@freebsd.org Received: from diskfarm.firehouse.net (rdu25-12-043.nc.rr.com [24.25.12.43]) by hub.freebsd.org (Postfix) with ESMTP id 6278D37B502 for ; Wed, 11 Oct 2000 19:13:28 -0700 (PDT) Received: (from abc@localhost) by diskfarm.firehouse.net (8.11.0/8.11.0) id e9C2Fao35724; Wed, 11 Oct 2000 22:15:36 -0400 (EDT) (envelope-from abc) Date: Wed, 11 Oct 2000 22:15:36 -0400 From: Alan Clegg To: Kent Stewart Cc: Kevin LEE , "freebsd-stable@FreeBSD.ORG" Subject: Re: HowTo generate ssh_host_dsa_key key pairs Message-ID: <20001011221536.B35107@diskfarm.firehouse.net> References: <39E50C1A.FF9FFB55@esec.com.au> <39E513E4.7EE47315@urx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <39E513E4.7EE47315@urx.com>; from kstewart@urx.com on Wed, Oct 11, 2000 at 06:29:08PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. AlanC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message