From owner-freebsd-questions Thu Apr 5 0: 4:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cgmd76206.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id AF9EE37B509 for ; Thu, 5 Apr 2001 00:04:08 -0700 (PDT) (envelope-from edwin@cgmd76206.chello.nl) Received: by cgmd76206.chello.nl (Postfix, from userid 1001) id 8BD08188; Thu, 5 Apr 2001 09:04:07 +0200 (CEST) Date: Thu, 5 Apr 2001 09:04:07 +0200 From: Edwin Groothuis To: duraid Cc: questions@freebsd.org Subject: Re: Does it matter? Message-ID: <20010405090407.W471@cgmd76206.chello.nl> References: <200104050019.RAA18891@usw-pr-web1-f.sourceforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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