From owner-freebsd-questions Thu Oct 3 12: 4: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 271BF37B401 for ; Thu, 3 Oct 2002 12:04:00 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D1DD43E42 for ; Thu, 3 Oct 2002 12:03:59 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B870A66B79; Thu, 3 Oct 2002 12:03:58 -0700 (PDT) Date: Thu, 3 Oct 2002 12:03:58 -0700 From: Kris Kennaway To: Firsto Lasto 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> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FFoLq8A0u+X9iRU8" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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