delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/29/15:43:29

X-Recipient: archive-cygwin AT delorie DOT 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 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <1346269388009-92399.post@n5.nabble.com>
In-Reply-To: <20120229145507.GE6254@calimero.vinschen.de>
References: <4F4CE2D2 DOT 1070602 AT nokia DOT com> <20120228144939 DOT GE23440 AT calimero DOT vinschen DOT de> <4F4CEC96 DOT 1060900 AT nokia DOT com> <20120228153338 DOT GG23440 AT calimero DOT vinschen DOT de> <20120228155033 DOT GI23440 AT calimero DOT vinschen DOT de> <4F4E35AE DOT 9010508 AT nokia DOT com> <20120229145507 DOT GE6254 AT calimero DOT vinschen DOT de>
Subject: Re: slow ssh login on a cygwin machine
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019