SSH 3.2.2 on Solaris 8 with /kernel/drv/random

Sean Boran sean at
Fri May 17 19:03:01 EST 2002


I'm like to try a get the new release to work with Sun's new device,
that can be installed with patch 112438-01.

I compiled SSL attempting to point it at the random device:
cd openssl-0.9.6d
./Configure solaris-sparcv7-gcc 
make DEVRANDOM="/kernel/drv/random"

And then ran the SSH configure:
./configure --prefix=/opt/OBSDssh --with-pam --without-rsh \
--sysconfdir=/etc/ssh --with-pid-dir=/var/run --disable-suid-ssh \

But am not convinced this is correct.

and I also tried:
./configure --prefix=/opt/OBSDssh --with-pam --without-rsh \
--sysconfdir=/etc/ssh --with-pid-dir=/var/run --disable-suid-ssh \
--with-tcp-wrappers=../tcp_wrappers_7.6 \

And configure says:
             Random number source: ssh-rand-helper
     ssh-rand-helper collects from: Unix domain socket

But I don't think /kernel/drv/random is a socket, "ls" lists it as a
normal file.
ls -alF /kernel/drv/random
-rwxr-xr-x   1 root     sys        15704 Mar 15 00:33

If I compile SSH as above and then try to use the random device I get:
Couldn't connect to PRNGD socket "/kernel/drv/random": Socket operation
on non-socket. Entropy collection failed

So the question: has anyone got SSH to work with Sun's random device and
if so, how did you do it?

Thanks in advance,


Sean Boran   Tel: +41-79-2444.607

More information about the openssh-unix-dev mailing list