?
Solved

prngd dies after 4 minutes ssh

Posted on 2005-03-07
3
Medium Priority
?
479 Views
Last Modified: 2013-12-16
I'm loaded prngd and ssh on my system , I'm running sco 5.0.6., and I followed all the instructions on how to configure ssh to work on it but some how, as soon as I start the process 'prngd' it dies after 4 minutes.

While 'prngd' runs I'm able to ssh in and out , and sftp in and out with no problem whatsoever. But then when prngd dies I get "no connection error" while trying to get it, or PRNGD is not SEEDED.

Why is it getting killed ?

Here's my /usr/local/prngd/prngd.conf file :

"ls -alti /var/adm"             /bin/ls 0.02
"ls -alti /usr/spool/mail"      /bin/ls 0.03
"ls -alti /tmp"                 /bin/ls 0.02
"ls -alti /usr/tmp"             /bin/ls 0.02
"netstat -rn"                   /usr/bin/netstat 0.02
"netstat -ian"                  /usr/bin/netstat 0.05
"netstat -sn"                   /usr/bin/netstat 0.02
"ifconfig -a"                   /etc/ifconfig 0.02
"ps -al"                        /bin/ps 0.03
"ps -efl"                       /bin/ps 0.03
"last"                          /usr/bin/last 0.01
"df"                            /bin/df 0.01
"df -vi"                        /bin/df 0.01
"w"                             /usr/bin/w 0.02
"who -a"                        /bin/who 0.01
"uptime"                        /usr/bin/uptime 0.01
"ipcs -a"                       /bin/ipcs 0.01
"tail -200 /var/adm/syslog"     /bin/tail 0.01


Thanks
0
Comment
Question by:henry007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 13485961
prngd random pool is used at connect.
try sco.com/skunkware for newer SSH release ( which may not use prngd )
also check if all commands it uses execute succesfully.

I had this problem, and never solved it since some later sshd on some other OS dhad no need for prngd anymore.
0
 

Author Comment

by:henry007
ID: 13499874
yes all commands execute succesfully, If I run the spool using the debug flag all the time it never dies, it can stay working for ever, why in the world does it stop working after it finish doing the entropy ? It looks like as soon as it finishes the list of prngd.conf commands it ends. The debugger keeps the list repeating all over again .
0
 
LVL 62

Accepted Solution

by:
gheist earned 220 total points
ID: 13500274
first i read this
ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/INSTALL
then looked at this
ftp://ftp2.sco.com/pub/skunkware/osr5/vols/
after I dug up this
http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/ChangeLog

and came to conclusion that 0.9.23 may exit for non-obvious reasons

look for core dumps in /usr/local/var/prngd , and if this dir is writable by user prngd ???

As I said I had alike problem but never solved it, and I do not have anu installation of PRNGD or EGD around.

OpenSSH uses it via OpenSSL library, so OpenSSL may need some help too

0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question