Advertisements

OpenSSH on Solaris 6, 7 and 8 error message: Couldn’t connect to PRNGD socket “/var/spool/prngd/pool”: Connection refused

If you tried to start sshd on Solaris and appeared an error message saying it couldn’t connect to PRNGD socket, you need to start this daemon first.

root@solaris6:/ # /etc/init.d/sshd start
Couldn’t connect to PRNGD socket “/var/spool/prngd/pool”: Connection refused
couldn’t read entropy commands file /usr/local/etc/ssh_prng_cmds: No such file or directory
ssh-rand-helper child produced insufficient data

Run /etc/init.d/prngd start and then start ssh again

root@solaris6:/ # /etc/init.d/prngd start

root@solaris6:/# /etc/init.d/sshd start

The daemon should be running now

root@solaris6:/ # ps -ef | grep ssh
root 19359 1 0 10:00:08 ? 0:00 /usr/local/sbin/sshd
root 19376 18089 0 10:00:13 pts/1 0:00 grep ssh

Advertisements
%d bloggers like this: