Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2001 19:59:16 +0200 (CEST)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: SSH broken in FBSD 4.4-STABLE!!
Message-ID:  <200110131759.f9DHxGp92745@lurza.secnetix.de>
In-Reply-To: <20011013181212.R22627-100000@klima.physik.uni-mainz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hartmann, O. <ohartman@klima.physik.uni-mainz.de> wrote:
 > [...]
 > The only way to start sshd was to telnet to the appropriate host
 > and start the daemon manually. And this manual start does not produce any
 > problem! The I started sshd via rc.local - not problem. It seems, that
 > it depends on __when__ sshd starts in the rc-triggered startup process.

This sounds very much like it doesn't get enough entropy
(randomness) right after reboot.  When it is started later,
more randomness has been accumulated, which then might be
sufficient to generate the server RSA key.  Do you have set
"rand_irqs" to reasonable values in your /etc/rc.conf?
The occurence of IRQs are used, among other things, to feed
entropy to /dev/random and /dev/urandom.
Try changing the values, maybe it helps.

Note that the allocation of IRQs on an SMP/APIC machine is
much different from a UP machine.  This might be the reason
why the problem does not occur on UP boxes.  However, I
have no idea what the SSE setting could have to do with it.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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