Subject: Re: sshd "Disabling protocol version 2" ??
To: Laine Stump <lainestump@rcn.com>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 12/09/2001 07:42:33
On 9 Dec 2001, Laine Stump wrote:

> Awhile back I noticed that at boot time my sshd prints this message:
>
>         Disabling protocol version 2. Could not load host key
>
> Just to make sure one of my keys wasn't corrupt, I did this:
>
>         /etc/rc.d/sshd stop
>         rm /etc/ssh_*
>         /etc/rc.d/sshd start
>
> This recreates all the keys then restarts sshd. Unfortunately, I still
> get the same message.
>
> I'm running built from Nov 21 sources, BTW.
>
> Can someone tell me how to rid myself of this message and get protocol
> ver. 2 enabled?

ISTR that that error occurs, for some unkown reason, from trying to
load "/etc/ssh_host_rsa_key". If you comment that line out of
"/etc/sshd.conf", you'll be able to use version 2 with the dsa key.

Frederick