Subject: Re: SSHD
To: Stephen Brown <>
From: Brian A. Seklecki <>
List: netbsd-users
Date: 07/13/2001 08:27:31
You should be able to regen your keys manually at any time :

# ssh-keygen -N '' -b 2048 -t rsa1 -f /etc/ssh_host_key
# ssh-keygen -N '' -b 2048 -t dsa -f /etc/ssh_host_dsa_key

(optionally -q)


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?
> Thanks
> Steve



"GNU/Linux: About as stable as the elements at the bottom of the periodic