Subject: Re: SSHD
To: Stephen Brown <>
From: None <>
List: netbsd-users
Date: 07/12/2001 15:23:52
On Thu, 12 Jul 2001, Stephen Brown wrote:

> Hi, just installed NetBSD onto a little machine, and want to start the
> ssh daemon.. as root, I do this, and I get error's stating that sshd
> cannot load the key file referred to by the sshd.conf file.
> This is a totally fresh install of 1.5, with no modifications
> whatsoever... how can I generate said keys, and run sshd?  Do I need to do
> this on a reboot, with sshd=YES in my rc.conf?

if you want to make it run automatically on startup, just put 

sshd=YES in your rc.conf

if you want to manually start it, do

/etc/rc.d/sshd start

that should generate the keys if they do not exist.