I know this may sound trivial, but you should check the permissions of the
files in /etc/ssh2
(sometimes RPMs don't do perms correctly :)
The private host key file should be rw for root only, and no access to
group or world.
-Anders.
At 04:20 PM 9/19/00 -0700, ryan wrote:
>I recently installed the ssh-2.3.0-1.i386.rpm on my machine and it
>installed perfectly and created a passkey, private and public in
>/etc/ssh2/hostkey and /etc/ssh2/hostkey.pub respectively. When I try to
>load sshd2 it quits with the following error messages,
>
># sshd2 -v
>sshd2: SSH Secure Shell 2.3.0 (non-commercial version) on
>i686-pc-linux-gnu
>debug: Reading private host key from /etc/ssh2/hostkey
>sshd2[1736]: FATAL ERROR: ssh_privkey_read from /etc/ssh2/hostkey
>failed.
>FATAL: ssh_privkey_read from /etc/ssh2/hostkey failed.
>
>The private key file exists where it is looking but for some reaon it
>fails to be read. Any help would be greatly appreciated. Thanks.
>
>Sincerely,
>Ryan Vaughan