Author Topic: can\'t ssh - PRNG is not seeded  (Read 4805 times)

darkeye

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
can\'t ssh - PRNG is not seeded
« on: March 17, 2004, 03:35:25 am »
I just flashed my SL-C760 with the 3.3.5 OpenZaurus
roms, and I\'m trying to run ssh on it. I saw that ssh
is included in the initial flash itself. but when I try
to run either the ssh server or the ssh client, I get:

Code: [Select]
PRNG is not seeded

what is wrong?

Synfin0

  • Newbie
  • *
  • Posts: 32
    • View Profile
can\'t ssh - PRNG is not seeded
« Reply #1 on: March 17, 2004, 06:15:27 am »
Maybe try ssh-keygen?  If that doesn\'t work, it might be that your PRNG (Psuedo random number generator) device is the problem.

darkeye

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
can\'t ssh - PRNG is not seeded
« Reply #2 on: March 17, 2004, 06:52:18 am »
I tried all sorts of ssh functions, and all say the same.
How would I fix the pseudo random number generator?

Synfin0

  • Newbie
  • *
  • Posts: 32
    • View Profile
can\'t ssh - PRNG is not seeded
« Reply #3 on: March 17, 2004, 07:03:16 am »
Well, not sure if it will all work on the Z, but this is what a quick search came up with
http://www.derkeiler.com/Mailing-Lists/sec...04-01/0080.html

darkeye

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
can\'t ssh - PRNG is not seeded
« Reply #4 on: March 17, 2004, 07:05:49 am »
I wouldn\'t think so, as the page talks about Solaris / SPARC. Quite a bit different than Linux / ARM

darkeye

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
can\'t ssh - PRNG is not seeded
« Reply #5 on: March 17, 2004, 10:53:19 am »
here\'s the fix. the /dev/urandom special file was missing. to create it, one has to type:

Code: [Select]
mknod /dev/urandom c 1 9

maybe this should get into the OZ FAQ?

braindrop

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
can\'t ssh - PRNG is not seeded
« Reply #6 on: July 12, 2004, 09:17:30 am »
this does not work for me on the 5500 with OZ.  it says the file already exists.  any thoughts?

braindrop

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
can\'t ssh - PRNG is not seeded
« Reply #7 on: July 12, 2004, 02:16:24 pm »
I guess I should add some info.  I have 2 comps with MDK 10 official.  One is my attempt at a home web server and the other is my regular desktop. They are called ServerPenguin and FloorPenguin.  The there is my Z, it is called PocketPenguin.  When I installed ServerPenguins OS I selected the medium setting for security and I this is likely my problem.  I can ssh into ServerPenguin from FloorPenguin so I know ServerPenguin's sshd is working (although I did need to add 'sshd:ALL:ALLOW' to the /etc/hosts.allow file.)  I can also ssh into FloorPenguin from PocketPenguin so I know that PocketPenguin's ssh client is working.  But I cannot ssh into ServerPenguin from PocketPenguin: I just get the prng not seeded error.  So what should I do?