Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 19:53:24 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        Alan Clegg <abc@bsdi.com>
Cc:        Kevin LEE <klee@esec.com.au>, "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: HowTo generate ssh_host_dsa_key key pairs
Message-ID:  <39E527A4.C614E5A9@urx.com>
References:  <39E50C1A.FF9FFB55@esec.com.au> <39E513E4.7EE47315@urx.com> <20001011221536.B35107@diskfarm.firehouse.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39E527A4.C614E5A9>