Couldn't obtain random bytes

Rune Mossige runemo at
Mon Oct 1 22:30:51 EST 2001

I am trying to generate a ssh_known_hosts2 file, 2.9.9p2,
ssh-keyscan -f list_of_hosts -t rsa > ssh_known_hosts.rsa
ssh-keyscan -f list_of_hosts -t dsa > ssh_known_hosts.dsa

but both commands fail almost immidiately with:
Couldn't obtain random bytes (error 604389476)

What could that mean?

Servers that I am aware of that I query is:

Adding a -v to ssh-keyscan does not give much more info:
sh-keyscan -v -f list_of_hosts -t rsa
debug1: match: OpenSSH_2.9.9p2 pat ^OpenSSH
# xxxxxx.yyyy SSH-1.99-OpenSSH_2.9.9p2
Enabling compatibility mode for protocol 2.0
Couldn't obtain random bytes (error 604389476)
debug1: Calling cleanup 0x21bf8(0x0)
debug1: Calling cleanup 0x1c3cc(0x0)

           (-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
Our ultimate goal is to make overloaded systems appear to be idle.
High performance, High reliability, Low cost -------- Pick any two.
Rune  Mossige,  Systems  Support  Engineer,  WesternGeco, Stavanger
Tel: (+47)51946869                             Mobile:(+47)90871024

To unsubscribe, e-mail: secureshell-unsubscribe at
For additional commands, e-mail: secureshell-help at

More information about the openssh-unix-dev mailing list