Subject: Re: follow-on woes
To: paul beard <paulbeard@mac.com>
From: Jon Buller <jon@bullers.net>
List: port-macppc
Date: 04/24/2002 16:26:45
In message <3CC73934.1080108@mac.com>, paul beard writes:
> 
> 
> David Brownlee wrote:
> > On Wed, 24 Apr 2002, paul beard wrote:
> > 
> > 
> >>It would be nice if sshd were configured at install time, to get
> >>away from the console. I found I have to make keys before it would
> >>start, and there are some things I just barely remember how to do.
> > 
> > 
> > 	You should be able to do:
> > 
> > 	echo 'sshd=YES' >> /etc/rc.conf
> > 	/etc/rc.d/sshd start
> 
> but will that make the keys? That's what hoses things up.

It did on my machine when I started it up.  And all my 1.5.x machines
have behaved that way as well.  If you look at the code, (either once
you've load /etc/rc.d on you machine, or in the repository) you will
see a pre-command to start that checks if a key file exists, and calls
a keygen routine if it doesn't.

Jon