Re: Correction: Re: ssh3.1.0: FATAL: Unable to load any hostkeys

it.is.alok_at_gmail.com
Date: 12/20/04


Date: 20 Dec 2004 04:12:08 -0800

Hi,

Any hint why
sshd2[12413]: FATAL: Unable to load any hostkeys
happened and what was the solution?

Did you create again the piblic and private host keys?

Thanks in Adv,
Best Regards,
Alok.

Lester Ingber wrote:
> I was trying to get info I see in my /var/adm/messages file. I see
> that the -help flag I used was used as -h file. However, I still
> have the WARNING problem. That is, when executing `sshd2` I get:
>
> sshd2: SSH Secure Shell 3.1.0 (non-commercial version) on
sparc-sun-solaris2.8
> sshd2[12821]: WARNING: Host key pair is not specified, trying to use
default 'hostkey'.
>
> However, I do have hostkey and hostkey.pub under /etc/ssh2, and it
looks
> like ssh2 is working OK?
>
> Thanks.
>
> Lester
>
> In article <8eXq8.3807$Yb1.17712@sea-read.news.verio.net>,
> Lester Ingber <ingber@ingber.com> wrote:
> :I upgraded to ssh3. When I set my sshd2 daemon, I have problems
which
> :are seen when I run `sshd2 -help`:
> :
> :sshd2: SSH Secure Shell 3.1.0 (non-commercial version) on
sparc-sun-solaris2.8
> :sshd2[12413]: WARNING: Host key pair is not specified, trying to use
> :default 'hostkey'.
> :sshd2[12413]: WARNING: ssh_privkey_read from /etc/ssh2/elp failed.
> :sshd2[12413]: FATAL: Unable to load any hostkeys
> :
> :In my /etc/ssh2/ directory a 'ls -l' shows I have:
> :
> :-rw------- 1 root staff 16 Nov 25 2000 authorization
> :-rw------- 1 root staff 828 Nov 25 2000 hostkey
> :-rw------- 1 root staff 697 Nov 25 2000 hostkey.pub
> :drw------- 2 root staff 512 Nov 25 2000 hostkeys/
> :-rw------- 1 root staff 874 Nov 25 2000 id_dsa_1024_a
> :-rw------- 1 root staff 743 Nov 25 2000
id_dsa_1024_a.pub
> :-rw------- 1 root staff 20 Nov 25 2000 identification
> :drwxr-xr-x 2 root staff 512 Mar 17 21:45 knownhosts/
> :-rw------- 1 root staff 512 Apr 3 16:56 random_seed
> :-rw------- 1 root staff 732 Nov 25 2000 sensei.pub
> :-rw------- 1 root staff 1950 Nov 15 15:22 ssh2_config
> :-rw------- 1 root staff 122 Nov 25 2000
ssh_dummy_shell.out
> :-rw------- 1 root staff 4 Nov 25 2000 sshd2_22.pid
> :-rw------- 1 root staff 4328 Apr 4 06:37 sshd2_config
> :
> :How can I correct this?
> :
> :Thanks.
> :
> :Lester
> :
> :--
> : Prof. Lester Ingber ingber@ingber.com ingber@alumni.caltech.edu
> : www.ingber.com www.alumni.caltech.edu/~ingber
>
>
> --
> Prof. Lester Ingber ingber@ingber.com ingber@alumni.caltech.edu
> www.ingber.com www.alumni.caltech.edu/~ingber