Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 22:15:36 -0400
From:      Alan Clegg <abc@bsdi.com>
To:        Kent Stewart <kstewart@urx.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:  <20001011221536.B35107@diskfarm.firehouse.net>
In-Reply-To: <39E513E4.7EE47315@urx.com>; from kstewart@urx.com on Wed, Oct 11, 2000 at 06:29:08PM -0700
References:  <39E50C1A.FF9FFB55@esec.com.au> <39E513E4.7EE47315@urx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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