From owner-freebsd-current@FreeBSD.ORG Wed May 21 19:07:13 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF15237B401 for ; Wed, 21 May 2003 19:07:13 -0700 (PDT) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE3E43F3F for ; Wed, 21 May 2003 19:07:08 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.9/8.12.6) with ESMTP id h4M26uIW028365; Thu, 22 May 2003 11:36:56 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: me@farid-hajji.de Date: Thu, 22 May 2003 11:36:55 +0930 User-Agent: KMail/1.5 References: <200305220351.21887.me@farid-hajji.de> In-Reply-To: <200305220351.21887.me@farid-hajji.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305221136.55767.doconnor@gsoft.com.au> X-Spam-Score: -0.7 () CARRIAGE_RETURNS,IN_REP_TO,REFERENCES,SPAM_PHRASE_02_03,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: freebsd-current@freebsd.org Subject: Re: ssh and fixit CD? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 02:07:14 -0000 On Thu, 22 May 2003 11:21, Farid Hajji wrote: > In 4.x, this doesn't work, because the random > number generator doesn't get initialized (?). > There may be issues with host keys initialization > as well. > > Up until now, I could only restore > a root disk (a.k.a / and /usr) by slipping > the drive in a working box and restoring from > there. I'm sure there is a better way, at least > with a working ssh in fixit mode. > > Sorry, I should have verified this with 5.1-BETA > CDs before posting, but I don't have the bandwidth > to D/L them right now. Perhaps the problem is > already fixed? I believe it is fixed but I'm not 100% sure. I also think you can work around the lack of /dev/random by kldload'ing the random module before trying to use ssh. I don't think you need to generate host keys if you are only using ssh (vs sshd) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5