Praji’s Weblog

Welcome to praji’s world

Archive for the ‘Uncategorized’ Category

openSSH PRNG not seeded

without comments

openSSH PRNG not seeded

This errror is usually seen when the random number generator is broken.

To fix this

Remove the random devices

rm -rf /dev/random && rm -rf /dev/urandom

now recreate both

mknod /dev/random c 1 8 &&  mknod /dev/random c 1 9

Written by praji

February 2, 2009 at 5:11 pm

Posted in Uncategorized

SSH not starting in VPs

with one comment

First check /var/log/messages and /var/log/secure

If you find something like this, “fatal: daemon() failed: No such device.” then here is the fix.

rm -rf /dev/null
mknod /dev/null c 1 3
/etc/rc.d/init.d/sshd restart

Written by praji

January 3, 2009 at 6:09 am

Posted in Uncategorized