Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2001 09:04:07 +0200
From:      Edwin Groothuis <edwin@mavetju.org>
To:        duraid <latif2221@home.com>
Cc:        questions@freebsd.org
Subject:   Re: Does it matter?
Message-ID:  <20010405090407.W471@cgmd76206.chello.nl>
In-Reply-To: <200104050019.RAA18891@usw-pr-web1-f.sourceforge.net>; from latif2221@home.com on Wed, Apr 04, 2001 at 05:19:05PM -0700
References:  <200104050019.RAA18891@usw-pr-web1-f.sourceforge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 04, 2001 at 05:19:05PM -0700, duraid wrote:
> what about sshd or opensshd .. is it recommended to use inetd to start them?

It is possible, but (open)sshd has the capabilities to act as a
server so it's not needed. Another reason not to do is that at
startup (open)sshd does some heavy calculation for a RSA key:

Apr  4 23:26:39 p6 sshd[198]: log: Generating new 768 bit RSA key.
Apr  4 23:26:42 p6 sshd[198]: log: RSA key generation complete.

That takes three seconds for me. It's cheaper to calculate it one
time for every possible connection than to calculate it for every
connection. On my system I'm running it as a deamon (port 22) and
as a backup via inetd (port 2222), in case the daemon breaks (I
just hope that this one can still be started :-)

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                     http://FatalDimensions.nl.eu.org/

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?20010405090407.W471>