X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_C,J_CHICKENPOX_62,TBC X-Spam-Check-By: sourceware.org Date: Tue, 23 Jun 2009 13:53:39 -0400 From: Eric Lenio To: cygwin AT cygwin DOT com Subject: Re: Connecting to cygwin ssh is slow Message-ID: <20090623175339.GC14935@lenio.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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'm a bit late to this thread but I had the same issue and I found a solution that worked for me and wanted to share it. Original thread: http://sourceware.org/ml/cygwin/2009-03/msg00361.html I already had UseDNS=no, but was still seeing about a 5 second delay after seeing the "Last login: Tue Jun 23 ..." message. My solution: verify that the fifth field in the user entry in /etc/passwd (separating fields with ":") references the correct host name of the machine. For example, when my machine was first set up the host name was vmdocman and so the fifth field had: lincdoc,U-VMDOCMAN\lincdoc,S-1-5-21-329068152-682003330-839522115-1007 This particular machine is a VMware VM and it was copied and renamed to "eForms-Sales". So when I made the entry like below the logins did not have the 5 second delay: lincdoc,U-EFORMS-SALES\lincdoc,S-1-5-21-329068152-682003330-839522115-1007 -- 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