Add a line or two in the sshd_config file telling sshd where the keys are
located:
HostKey /usr/local/etc/ssh_host_key
HostKey /usr/local/etc/ssh_host_dsa_key
That's what I did to fix the problem on my Solaris 2.7 system with
OpenSSH_2.5.1p2.
-earlw
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of M
> Stevens
> Sent: Friday, March 02, 2001 3:21 PM
> To: [EMAIL PROTECTED]
> Subject: OpenSSH/Solaris 2.6: Could not load host key
>
>
> I've been installing OpenSSH 2.5.1p1 on Solaris 2.6/7/8. Works
> fine on 7 & 8,
> but when I start it up under 2.6 I get;
>
> Disabling protocol version 2. Could not load host key
>
> Since I'm using the same sshd_config on all machines and have
> verified that the
> permissions are correct and all that, I'm guessing Sol2.6 is
> missing something
> needed for this, as my configurations are identical aside from
> what OS they live
> on. I'm using OpenSSH with OpenSSL 0.9.6, my /dev/random comes from
> ANDIrand-0.6-5.6.
>
> Any ideas greatly appreciated...
>