From owner-ssh@clinet.fi  Thu May 24 16:52:39 2001
Received: from smtp1.clinet.fi (smtp1.clinet.fi [194.100.2.57])
	by hutcs.cs.hut.fi (8.9.3/8.9.3) with ESMTP id QAA22041
	for <ssh-archiver@cs.hut.fi>; Thu, 24 May 2001 16:52:39 +0300 (EET DST)
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by smtp1.clinet.fi (Postfix) with ESMTP
	id 0CE7220791; Thu, 24 May 2001 16:52:39 +0300 (EEST)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id QAA09064
	for ssh-outgoing; Thu, 24 May 2001 16:15:15 +0300
Received: from cybercebu.com ([203.148.68.2])
	by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id QAA09018
	for <ssh@clinet.fi>; Thu, 24 May 2001 16:15:04 +0300
Received: from marlene.cybercebu.com (marlene.cybercebu.com [203.148.68.2])
	by cybercebu.com (8.11.3/8.11.3) with ESMTP id f4ODF5L15743;
	Thu, 24 May 2001 21:15:12 +0800
Date: Thu, 24 May 2001 21:15:04 +0800 (PHT)
From: "Julius C. Duque" <jcduque@cybercebu.com>
To: Mark Grant <mark.grant@salmat.com.au>
Cc: ssh@clinet.fi
Subject: Re: SSH is slow on solaris 2.6
In-Reply-To: <Pine.LNX.4.21.0105241533250.25778-100000@marlene.cybercebu.com>
Message-ID: <Pine.LNX.4.21.0105242102040.15648-100000@marlene.cybercebu.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ssh@clinet.fi
Precedence: bulk

On Thu, 24 May 2001, Julius C. Duque wrote:

> On Thu, 24 May 2001, Mark Grant wrote:
> 
> > Hi,
> > 
> > I have recently installed open ssh on a couple of solaris 2.6 boxes and I am
> > having a few problems.
> > 
> > When you connect from a pc you get an instant response.
> > When you connect from another solaris box there is a long pause before you get
> > prompted for a login.
> > Does anybody know whats causing this ?
> 
> I think it has something to do with the /dev/random not present on
> Solaris. I seem to have read about this somewhere, probably in another
> mailing list.

Ah.... I made a mistake. In some unices, /dev/random is not available.
But in your case, it seems that /dev/random (or an entropy source) is
already present. My guess is, when a connection is requested, random
bytes from the entropy pool are requested to generate a session key. When
the pool is exhausted, it will need to recharge, thus, the long pause.
At least, that's how it works with Linux. I hope the analogy is still
valid with Solaris. :-\


--
Under capitalism, man exploits man.
Under communism, it's just the opposite.
                -- J.K. Galbraith

