[meta-xilinx] SSH Help
Martin Townsend
martin.townsend at xsilon.com
Thu Dec 12 08:39:40 PST 2013
Hi,
I'm trying to get SSH working and have tried dropbear and openssh with
no joy. With dropbear it just hangs forever when trying to generate the
keys and with openssh I get the following message when trying to
generate the keys
PRNG is not seeded
I've stepped through the code and in seed_rng it calls RAND_Status which
I think is in the openssl library. This function returns failure.
A bit of googling seems to indicate that permissions on /dev/urandom and
/dev/random are incorrect but I've checked them and they are fine.
crw-rw-rw- 1 root root 1, 8 Jan 1 1970 random
...
crw-rw-rw- 1 root root 1, 9 Jan 1 1970 urandom
Running
|cat /dev/urandom | tr -dc 'a-zA-Z0-9~!@#$%^&*-_'
gives me a long stream of random characters.
>ZtAy6lC.;yZD3=etLvwbiPEeH_\laccLVXkYlrNa7SiXESYxrb44q*79&I...
|
Using /dev/random I managed to read 3 characters before it blocked.
cat /dev/random | tr -dc 'a-zA-Z0-9~!@#$%^&*-_'
xAr
Could it be that the entropy pool isn't being filled enough, the
documentation I can see says that openssl will use /dev/urandom first
and then /dev/random.
BTW: The HW design is using a Microblaze running at 100MHz which I would
hope would be enough if maybe a bit slow.
Any help/ideas greatly appreciated.
Cheers,
Martin.
More information about the meta-xilinx
mailing list