Operating System - HP-UX
1747984 Members
4460 Online
108756 Solutions
New Discussion юеВ

Re: PRNG is not seeded, ssh problem on 11.23

 
SOLVED
Go to solution
dictum9
Super Advisor

PRNG is not seeded, ssh problem on 11.23


11.23

OpenSSH_3.9, OpenSSL 0.9.7d 17 Mar 2004
HP-UX Secure Shell-A.03.91.009, HP-UX Secure Shell version

#: /sbin/rc2.d/S393secsh start
PRNG is not seeded
EXIT CODE: 255

I know it has something to do with /dev/unrandom. Is there a patch I should install?


#: ll /dev/random
crw-r--r-- 1 root root 113 0x000000 Jun 29 20:38 /dev/random

#: ll /dev/urandom
crw-r--r-- 1 root root 113 0x000001 Jun 29 20:38 /dev/urandom

8 REPLIES 8
dictum9
Super Advisor

Re: PRNG is not seeded, ssh problem on 11.23

Also, should I upgrade prngd?


#: /opt/openssl/prngd/prngd -version
prngd 0.9.26 (12 Jul 2002)
Usage: /opt/openssl/prngd/prngd [options] (/path/to/socket1 | tcp/localhost:port) [(/path/to/socket2 | tcp/localhost:port)] ...
Options:
Robert-Jan Goossens
Honored Contributor

Re: PRNG is not seeded, ssh problem on 11.23

Hi,

The major of both files should be 62.

# lsdev 113
should not give you the output "rng"

Download and install the latest HP-UX Strong Random Number Generator depot from software.hp.com

http://h20293.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=KRNG11I

Regards,
Robert-Jan
dictum9
Super Advisor

Re: PRNG is not seeded, ssh problem on 11.23


I have a working 11.23 box with OpenSSH 3.9 which has identical /dev/*random* files with major number of 113, and it works.

Plus, I already have /dev/random and /dev/urandom, why do I need to install the patch?


Robert-Jan Goossens
Honored Contributor
Solution

Re: PRNG is not seeded, ssh problem on 11.23

etc,

Could you post the hpux version you are running on the not working box.

Also post the output of below command from both servers.

# lsdev | grep 113

Robert-Jan
dictum9
Super Advisor

Re: PRNG is not seeded, ssh problem on 11.23


the "unknown" part does not look good.


lsdev | grep 113
113 -1 rng unknown
Robert-Jan Goossens
Honored Contributor

Re: PRNG is not seeded, ssh problem on 11.23

# swlist -l bundle | grep KRNG
KRNG11i B.11.11.09 HP-UX 11.11 Strong Random Number Generator

B.11.11.09 is the latest version for 11.11.

there was a "bug" in the versions prior to B.11.11.07. Have a look at below doc for more info.

Europe
http://www8.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01028893-2

US
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01028893-2

Regards,
Robert-Jan
sivbal
Occasional Contributor

Re: PRNG is not seeded, ssh problem on 11.23

Hi ,

 

I just downloaded and installed the "HP-UX Strong Random Number Generator" as per you comment and now sshd is starting at boot time without any problem. Many many thanks for you help.

 

Sivabalan K

Bo Thide'
Occasional Advisor

Re: PRNG is not seeded, ssh problem on 11.23

Well, I have the same problem on 11.11v1 and dowloaded and installed KRNGi B.11.11.09.  Still sshd does not starts but  issues the error message "Could not obtain seed from PRNGd".  I would appreciate any help...

Computers in science