1821410 Members
2695 Online
109633 Solutions
New Discussion юеВ

Problem in start up sshd

 
yc_2
Regular Advisor

Problem in start up sshd

Hi,

I have successfully installed open ssh into HPUX ver 11.00.

When I start up the daemon, the following message display:

/opt/openssh2/etc/ssh_host_key: No such file or directory
error: Could not load host key: /opt/openssh2/etc/ssh_host_key: No such file or
directory
/opt/openssh2/etc/ssh_host_dsa_key: No such file or directory
error: Could not load host key: /opt/openssh2/etc/ssh_host_dsa_key: No such file
or directory
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.


Any pointer is appreciated.


Thanks in advance,
YC
2 REPLIES 2
James Beamish-White
Trusted Contributor

Re: Problem in start up sshd

Hiya,

You'll need to create the host keys with ssh-keygen. Read the man, it give the details how.

Cheers!
James
GARDENOFEDEN> create light
James Beamish-White
Trusted Contributor

Re: Problem in start up sshd

Strange, in my install it put everything in /usr/local/etc.... you might need to check your sshd_config file and check the following parameters are pointing to the right place:

HostKey /usr/local/etc/ssh_host_key
HostKey /usr/local/etc/ssh_host_rsa_key
HostKey /usr/local/etc/ssh_host_dsa_key

Cheers,
James
GARDENOFEDEN> create light