On Sat, Apr 14, 2001 at 11:38:35AM -0700, Peter Jay Salzman wrote:
> i'm getting this error when i start the daemon:
>
> # /etc/init.d/ssh start
> Starting OpenBSD Secure Shell server: sshd
> Disabling protocol version 2. Could not load host key.
>
> does anyone know how to fix this? do i have to generate a new host key
> somehow? how do i do that?
Protocol versions 1 and 2 use different host keys. You need to run ssh-keygen with -t
rsa or -t dsa for a protocol 2 key or ssh-keygen -t rsa1 for a protocol 1 key. The
result goes in /etc/ssh_host_dsa_key.
--
Henry House
OpenPGP key available from http://hajhouse.org/hajhouse.asc
PGP signature