X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0	tests=BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,SPF_NEUTRAL,URI_HEX
X-Spam-Check-By: sourceware.org
Date: Wed, 29 Aug 2012 12:43:08 -0700 (PDT)
From: bbcolo22 <bbcolo22@gmail.com>
To: cygwin@cygwin.com
Message-ID: <1346269388009-92399.post@n5.nabble.com>
In-Reply-To: <20120229145507.GE6254@calimero.vinschen.de>
References: <4F4CE2D2.1070602@nokia.com> <20120228144939.GE23440@calimero.vinschen.de> <4F4CEC96.1060900@nokia.com> <20120228153338.GG23440@calimero.vinschen.de> <20120228155033.GI23440@calimero.vinschen.de> <4F4E35AE.9010508@nokia.com> <20120229145507.GE6254@calimero.vinschen.de>
Subject: Re: slow ssh login on a cygwin machine
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I am having exactly the same problem that Ilya described. The problem
appeared out of nowhere 1 week ago on many (but not all) of our production
servers running COPSSH. No errors, but an SSH login that used to take 3-5
seconds now takes > 90 seconds. I can clear see a delay of exactly 45
seconds here:

...
debug1: Trying private key: /home/dbmsmonitor/.ssh/id_rsa
debug3: no such identity: /home/dbmsmonitor/.ssh/id_rsa
debug1: Offering DSA public key: /home/dbmsmonitor/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
(45 second delay). 

... followed by a shorter, second delay at the same place the Ilya
described. 

Not all of our production servers (running COPSSH on Windows) have the
problem, but even rebooting a server can make the problem appear. I've
tried:

- Different SSH clients (ssh, putty, etc.). 
- Changing SSHD_CONFIG options. including turning off DNS (I can see that it
gets past the DNS lookup OK).
- Specifying many of the SSH -o client options. 
- Reinstalling COPSSH.

Any ideas? I'm desperate. :@( 

Thanks! 




--
View this message in context: http://cygwin.1069669.n5.nabble.com/slow-ssh-login-on-a-cygwin-machine-tp5558p92399.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

