Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-11 Thread Mark Murray
> No, /dev/urandom was already 666, and I just noticed that random was not, so > I chmodded random 0666 and then the error changed from PRNG not seeded to > "host key verification failed". > > I think there is some useful information in this last round of > troubleshooting I did - the fact tha

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-11 Thread Firsto Lasto
No, /dev/urandom was already 666, and I just noticed that random was not, so I chmodded random 0666 and then the error changed from PRNG not seeded to "host key verification failed". I think there is some useful information in this last round of troubleshooting I did - the fact that the behav

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-11 Thread Mark Murray
> Ok, I did this, and got the exact same results - first it says that PRNG is > not seeded, and then I chmod 0666 /dev/urandom and then it tells me "host > key verification failed". I hope you mean /dev/random? M > > So, just in case I also did the opposite - I left random alone and set > u

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-11 Thread Firsto Lasto
Ok, I did this, and got the exact same results - first it says that PRNG is not seeded, and then I chmod 0666 /dev/urandom and then it tells me "host key verification failed". So, just in case I also did the opposite - I left random alone and set urandom to 2,3 so it behaves like random ... a

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-10 Thread Mark Murray
> > Do you mean recompile SSL using urandom instead of random ? Yes. > Would it be the exact same effect if I simply changed my /dev/random to > major/minor 2,4 instead of 2,3 ? Yes. That would work. > It seems like that would be much easier... Indeed! M > > > Ok, I am not sure how I can

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-10 Thread Firsto Lasto
Do you mean recompile SSL using urandom instead of random ? Would it be the exact same effect if I simply changed my /dev/random to major/minor 2,4 instead of 2,3 ? It seems like that would be much easier... > > > Ok, I am not sure how I can do that though - I cannot successfully run > > `rn

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-06 Thread Mark Murray
> Ok, I am not sure how I can do that though - I cannot successfully run > `rndcontrol -s X` inside a jail. > > On the other hand, I already have: > > rand_irqs="9 10 11 13 14" > > In my rc.conf on the underlying host machine, and have done several boots > with that in place. So presumably I

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Firsto Lasto
Ok, I am not sure how I can do that though - I cannot successfully run `rndcontrol -s X` inside a jail. On the other hand, I already have: rand_irqs="9 10 11 13 14" In my rc.conf on the underlying host machine, and have done several boots with that in place. So presumably I should be seeded

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Mark Murray
> I can't seed it by banging on the keyboard - it is a headless server in a > rack thousands of miles from me :) > > Perhaps there is another way to do it ? Yes. You need to find sources of entropy in interrupts. Look at a dmesg, and note which IRQ's your network device(s) and mass storage con

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Firsto Lasto
I can't seed it by banging on the keyboard - it is a headless server in a rack thousands of miles from me :) Perhaps there is another way to do it ? >Date: Thu, 03 Oct 2002 21:54:30 +0100 > > > Sorry, here is the rest: > > > > Here is the output of the `dd` command using urandom: > > > > dd i

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Mark Murray
> Sorry, here is the rest: > > Here is the output of the `dd` command using urandom: > > dd if=/dev/urandom of=/dev/stdout bs=512 count=1 | hexdump -C > 1+0 records in > 1+0 records out > a0 69 1a 7c 8f 32 e5 21 ae 7a 33 14 68 0b 8e a6 > |.i.|.2.!.z3.h...| ... etc. Looking good. >

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Firsto Lasto
Sorry, here is the rest: Here is the output of the `dd` command using urandom: dd if=/dev/urandom of=/dev/stdout bs=512 count=1 | hexdump -C 1+0 records in 1+0 records out a0 69 1a 7c 8f 32 e5 21 ae 7a 33 14 68 0b 8e a6 |.i.|.2.!.z3.h...| 512 bytes transferred in 0.000472 secs (10

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Mark Murray
Hi You only sent me a third of what I asked for :-) M > > Ok, here you are - as a normal user (non root) inside the jail, I have run: > > $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C > dd: /dev/stdout: Permission denied > > $ ls -asl /dev/stdout > 0 crw--- 1 root whe

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Firsto Lasto
Ok, here you are - as a normal user (non root) inside the jail, I have run: $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C dd: /dev/stdout: Permission denied $ ls -asl /dev/stdout 0 crw--- 1 root wheel 22, 1 Sep 3 21:46 /dev/stdout All of this was _after_ I ran the `

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Mark Murray
> I have found that if you create a jail in FreeBSD 4.6.2, and then log into > that jail ... if you are root you can scp and ssh just fine. However if you > are not root and you attempt to ssh or scp, you get this error: > > PRNG is not seeded Hmmm. > A few details - first, I created my jail

PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-02 Thread Firsto Lasto
Hello, I have found that if you create a jail in FreeBSD 4.6.2, and then log into that jail ... if you are root you can scp and ssh just fine. However if you are not root and you attempt to ssh or scp, you get this error: PRNG is not seeded A few details - first, I created my jail by simply