openSSH PRNG not seeded
Submitted by ramez hanna on Thu, 01/17/2008 - 10:28
I get the following error when trying to ssh to an ubuntu dapper machine
ssh_exchange_identification: Connection closed by remote host
seemed like the random number generator got broken or something
here is how i fixed it
i removed 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
and that's it
- ramez hanna's blog
- Add new comment
- 2341 reads

seed it with ssh-keygen
- reply
Submitted by Visitor on Mon, 02/04/2008 - 18:51.