Operating System - HP-UX
1850061 Members
2660 Online
104050 Solutions
New Discussion

Re: Secure Shell and SFTP

 
Regina Mitchell
Frequent Advisor

Secure Shell and SFTP

OS : HP-UX 11.11
Product:Secure_Shell A.04.50.009HP-UX Secure Shell
RandomNumGen B.11.11.07 HP-UX 11.11 Strong Random Number Generator Kernel Enablement
RandomNumGenDyn B.11.11.09 HP-UX 11.11 Strong Random Number Generator product
______________________________________________

Hello I have Secure Shell on my servers. I have the following problem:

1)Each time the ssh command is launched the following is displayed:
Couldn't connect to PRNGD socket "/var/run/egd-pool": No such file or directory The ssh connection is working but we do not want the error message. Although the Strong Random Number Generator was installed, I do not have /dev/random nor /dev/urandom

2) I can ssh as stated above but cannot sftp. It just hangs with Couldn't connect to PRNGD socket "/var/run/egd-pool": No such file or directory

How can I resolve this? All replies are appreciated.
3 REPLIES 3
Tim Nelson
Honored Contributor

Re: Secure Shell and SFTP

Are you sure it is installed ?

swlist -l fileset|grep -i random
Regina Mitchell
Frequent Advisor

Re: Secure Shell and SFTP

Yes. See my output below:
/ > swlist -l fileset|grep -i random
# RandomNumGen B.11.11.07 HP-UX 11.11 Strong Random Number Generator Kernel Enablemen
RandomNumGen.RNG-KRN B.11.11.07 Strong Random Number Generator Kernel Enablement
# RandomNumGenDyn B.11.11.09 HP-UX 11.11 Strong Random Number Generator product
RandomNumGenDyn.RNG-DKRN B.11.11.09 Strong Random Number Generator DLKM
Tim Nelson
Honored Contributor

Re: Secure Shell and SFTP

You can try to make the device files with mknod, should look like this.
1580 cr--r--r-- 1 bin bin 78 0x000000 Aug 11 2007 /dev/random
1597 cr--r--r-- 1 bin bin 78 0x000001 Aug 11 2007 /dev/urandom


Or, force a reinstall of the software and double check the swinstall logs to see if there was any error.