Operating System - HP-UX
1843946 Members
2235 Online
110226 Solutions
New Discussion

Re: Problem installing SSHD

 
SOLVED
Go to solution
Pepe Jimenez Muñoz
Frequent Advisor

Problem installing SSHD

Hello, I??m trying to install SSHD daemon in my HP-UX 10.20 server but I have some problems....

I download from :

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-3.0.2p1/

I install EGD (Entropy Gathering Daemon) and run with:

/opt/perl5/bin/egd.pl /opt/openssh2/etc/ssh_prng_cmds

I try now to run sshd and I get this message:

couldn't read entropy commands file /opt/openssh2/etc/ssh_prng_cmds: Operation not supported

Can somebody help me??? , please....

THANKS
ppviso
6 REPLIES 6
LucianoCarvalho
Respected Contributor

Re: Problem installing SSHD

Hi Pepe Jimenez,

I downloaded the openssh from http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-3.0.2p1/, and made the installation without problem.
I followed the sequence:

1- download the openssh-3.0.2p1 and openssl-0.9.6(wich is a dependence for opensh installation. You can download it from http://hpux.cs.utah.edu/hppd/hpux/Languages/openssl-0.9.6/)

2- Transfer the files to HP as binary.
3- Gunzip the files.
#gunzip /tmp/openssh-3.0.2p1-sd-11.00.depot.gz
#gunzip /tmp/openssl-0.9.6-sd-11.00.depot.gz

4- Install the openssl-0.9.6
#swinstall /tmp/openssl-0.9.6-sd-11.00.depot

5- Finally install openssh-3.0.2p1
#swinstall -s /tmp/openssh-3.0.2p1-sd-11.00.depot

Hope this help
Luciano
Pepe Jimenez Muñoz
Frequent Advisor

Re: Problem installing SSHD

Thanks,

but my HP-UX version is 10.20 and not 11.x.
ppviso
LucianoCarvalho
Respected Contributor

Re: Problem installing SSHD

Pepe at the same web page you will find Openssh and Openssl for HP-UX 10.20 too. The process for installation is the same.

Regards
Luciano
Pepe Jimenez Muñoz
Frequent Advisor

Re: Problem installing SSHD

Hi,

I install PRNGD and now when I try to run the server I get the next message:

averroes # ../sbin/sshd -d
debug1: Seeded RNG with 40 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: sshd version OpenSSH_3.0.2p1
Could not load host key: /opt/openssh2/etc/ssh_host_key
Disabling protocol version 1. Could not load host key
sshd: no hostkeys available -- exiting.
debug1: writing PRNG seed to file //.ssh/prng_seed

Help, please....
ppviso
Steven Sim Kok Leong
Honored Contributor
Solution

Re: Problem installing SSHD

Hi,

You have not generated the SSH hostkey on your system:

# ssh-keygen -N "" -f /opt/openssh/etc/ssh_host_key

Hope this helps. Regards.

Steven Sim kok Leong
Pepe Jimenez Muñoz
Frequent Advisor

Re: Problem installing SSHD

Thanks Steve,

I generated the host key with ssh-keygen (whitout parameters) and I enter a file name and a passphrase. But don??t work fine.

With -N "" -f /path/filename all work fine.

ppviso