Operating System - HP-UX
1834431 Members
1771 Online
110067 Solutions
New Discussion

Re: Problem running ssh on HP-UX 10.20

 
Stephen Lee_2
New Member

Problem running ssh on HP-UX 10.20

Hi,

I have downloaded the following depots from http://hpux.cs.utah.edu/
(1) openssh-3.0.2p1-sd-10.20.depot.gz
(2) zlib-1.1.3-sd-10.20.depot.gz
(3) openssl-0.9.6-sd-10.20.depot.gz
and installed them in a HP-UX 10.20 Unix using swinstall. No problem was reported during/after the installation. However, when executing any ssh command in /opt/openssh2 (e.g. ssh-keygen), the same error message always appears:

"couldn't read entropy commands file /opt/openssh2/etc/ssh_prng_cmds: No such file or directory"

Also, only the following sub-directories were found in /opt/openssh2 but not 'etc':
bin, doc, libexec, man, sbin, share

Any idea?

9 REPLIES 9
Steven Sim Kok Leong
Honored Contributor

Re: Problem running ssh on HP-UX 10.20

Hi,

It appears to me many are using OpenSSH implementation and few are using SSH Communications implementation.

I have never encountered installation issues (which appear to be prevalent for OpenSSH at least for quite a number of forum users) when I used SSH Communications implementation on HP-UX 10.20 and HP-UX 11.00.

If you are interested in SSH Communications implementation, you can download the latest version SSH 3.1.0 from following FTP site:

ftp://ftp.wiretapped.net/pub/security/cryptography/apps/ssh/SSH/ssh-3.1.0.tar.gz

Hope this helps. Regards.

Steven Sim Kok Leong
Tony Chiu
Advisor

Re: Problem running ssh on HP-UX 10.20

Hi,

It seems that the package missed the etc configruation directory. There should be an etc directory (/opt/openssh2/etc) to store your host keys, ssh_config & sshd_config, etc.

I think you may try download the files from 11.x package and copy the files to your system. At least the following files should present in /opt/openssh2/etc:
ssh_config
sshd_config
ssh_prng_cmds
moduli

Hope that help.
Tony.
Gisela Hoffmann_2
Occasional Advisor

Re: Problem running ssh on HP-UX 10.20

Thanks Tony Chui!
I had the same Problem as Aloysius NG and after copying the Files from the 11.00 depot everything worked fine!

Gisela
T. M. Louah
Esteemed Contributor

Re: Problem running ssh on HP-UX 10.20

Here is a thread that discusses SSH configuration issues that might interest you:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4ff8911284f5d5118ff40090279cd0f9,00.html
Little learning is dangerous!
Craig Rants
Honored Contributor

Re: Problem running ssh on HP-UX 10.20

Aloysuis,
I have installed OpenSSH on a number of servers both 10x and 11x and I am not having problems. That being said, I would swremove, then swinstall again, then check the status of the software once your are done, make sure that it is configured.

swlist -l fileset -a state

After that then configure the /etc/sshd_config file to meet your needs. Attached is my install document, that may help you.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Stephen Lee_2
New Member

Re: Problem running ssh on HP-UX 10.20

Deal all,

Thank you for all of your reply and help. The OpenSSH 3.0.2p1 work on my HP-UX 10.20 now! The method told by Tony Chiu solved the problem.

At first, the depots for 11.0 could not be 'swinstall' in our existing 10.20 one. Until recently, I got a HP-UX 11.0 machine. The 11.0 depots could be installed and OpenSSH was running successfully without any problem. Then, I copied the missed files under /opt/openssh2/etc from 11.0 to 10.20 and OpenSSH could run smoothly.

:)
Zeev Schultz
Honored Contributor

Re: Problem running ssh on HP-UX 10.20

Can be clearly seend that 10.20 binary lacks
the etc directory by using "View contents"
on : http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-3.0.2p1/

and compare it to the 11.00 binary contents.
Files from 11.00 binary could be easily extracted with "tar -xf .
Anyway,I sent a mail to the guys that made this archive.(Matt Power and Aaron Campbell )

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Robert Klute_2
Visitor

Re: Problem running ssh on HP-UX 10.20

openssh-3.1p1-sd-10.20.depot.gz on hpux.connect.org.uk has the etc files. You can gunzip the file, then either selectively swinstall the files or tar -xf the file to get to the /tmp/openssh/openssh-RUN/opt/openssh2/etc directory. However the files have a .out extension, so you need to rename without the extension once they are installed.

Then to generate the keys you can execute:

ssh-keygen -t rsa1 -f /opt/openssh2/etc/ssh_host_key -N ""
ssh-keygen -t rsa -f /opt/openssh2/etc/ssh_host_rsa_key -N ""
ssh-keygen -t dsa -f /opt/openssh2/etc/ssh_host_dsa_key -N ""


W.Mossler
New Member

Re: Problem running ssh on HP-UX 10.20

Dear Stephen,

This is not really an answer but a question:

I want to install the ssh also an HP 10.20,
using the same *.depot-files you have mentioned,
but I can't find them on the hpux.cs.utah.edu
-site .
Can you give me a hint where I can get them
still, ( or may be even send them via email )

With kind regards,
Wolfgang Mossler

mail : wolfgang.mossler@invenio.net