delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/23/13:54:01

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 <eric AT lincware DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Connecting to cygwin ssh is slow
Message-ID: <20090623175339.GC14935@lenio.net>
MIME-Version: 1.0
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: <cygwin.cygwin.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'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

- Raw text -


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