General
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem installing SSH in hpux 10.20

Ray Michael S. Rojo
Occasional Advisor

Problem installing SSH in hpux 10.20

I installed SSH on HPUX 10.20 from one of the web that has the archive of old version softwares: http://www.cmve.net/~merijn/downloads.html#hpux1020

I installed this version:
openssh 5.2p1 openssh
openssl 0.9.8k openssl

Then after installing the software i try to run/start the service using the command below and encountered this error:

#/usr/local/sbin/sshd start
[1] 13226
root@ccbrep[/usr/lib]

#/usr/lib/dld.sl: Bad magic number for shared library: /usr/lib/libz.sl
/usr/lib/dld.sl: Exec format error

Can you help me with this? or you can help me to install from start with the exact version of SSH for version 10.20.

Looking forward to help me with this. Thanks in advance.

4 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: Problem installing SSH in hpux 10.20

Hi Ray:

It would appear that you installed a binary that was not built for 10.20. What does this return?

# file /usr/lib/libz.sl

Regards!

...JRF...
Ray Michael S. Rojo
Occasional Advisor

Re: Problem installing SSH in hpux 10.20

#file libz.sl
libz.sl: PA-RISC1.1 shared library -not stripped
root@ccbrep[/usr/lib]

Ray Michael S. Rojo
Occasional Advisor

Re: Problem installing SSH in hpux 10.20

Hi.. just an update.. I download again a new copy of the file and it seems I have a new error that appear after I startup the SSH service..

What do i need if this is the error? thanks..

#/usr/local/sbin/sshd &
[1] 13881
root@ccbrep[/usr/local/lib]
#Could not load host key: /usr/local/etc/ssh_host_key
Could not load host key: /usr/local/etc/ssh_host_rsa_key
Could not load host key: /usr/local/etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
Steven Schweda
Honored Contributor

Re: Problem installing SSH in hpux 10.20

> What do i need if this is the error?

> sshd: no hostkeys available -- exiting.

Uh, create host keys?

Read the SSH documentation?