Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 12:03:58 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Firsto Lasto <firstolasto@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...
Message-ID:  <20021003190358.GD3372@xor.obsecurity.org>
In-Reply-To: <F171CrbreLDwdbWKEVq000004f0@hotmail.com>
References:  <F171CrbreLDwdbWKEVq000004f0@hotmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Oct 02, 2002 at 11:38:27PM -0700, Firsto Lasto wrote:
> 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

This means it can't read from /dev/urandom.

> A few details - first, I created my jail by simply using the dump command to
> dump my / filesystem, and then restoring that inside the jail.  Not elegant,
> but it works - so the jail in question has a full /dev and everything.
> 
> Second, I used the exact same method in 4.6.1 and did not have problems.
> 
> I saw a usenet post that recommended solving the problem with this:
> 
> "chmod a+r /dev/*rand*"
> 
> however I tried that, and now when I try to ssh or scp from a non root user
> inside the jail, I get:
> 
> "Host key verification failed"

This sounds like an operational error, i.e. you have the wrong keys
installed for that host.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9nJSeWry0BWjoQKURAqMTAKDoY76C9X1wGzUDH9AeiRKfcNB4TwCglETF
IfVVv5EjB6s3a/tDw8GaWIM=
=tqUP
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021003190358.GD3372>