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>
next in thread | previous in thread | raw e-mail | index | archive | help
--FFoLq8A0u+X9iRU8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 02, 2002 at 11:38:27PM -0700, Firsto Lasto wrote: > Hello, >=20 > 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: >=20 > 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 elega= nt, > but it works - so the jail in question has a full /dev and everything. >=20 > Second, I used the exact same method in 4.6.1 and did not have problems. >=20 > I saw a usenet post that recommended solving the problem with this: >=20 > "chmod a+r /dev/*rand*" >=20 > however I tried that, and now when I try to ssh or scp from a non root us= er > inside the jail, I get: >=20 > "Host key verification failed" This sounds like an operational error, i.e. you have the wrong keys installed for that host. Kris --FFoLq8A0u+X9iRU8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9nJSeWry0BWjoQKURAqMTAKDoY76C9X1wGzUDH9AeiRKfcNB4TwCglETF IfVVv5EjB6s3a/tDw8GaWIM= =tqUP -----END PGP SIGNATURE----- --FFoLq8A0u+X9iRU8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021003190358.GD3372>