X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=WPp59SDmypOTyn+jnzdX5S5l/5jqhDTyKo75yXkEmqmp3XgZn5VRA d0rddJMgcL1JG8eDc/4v24Flcea+Uft5bH5F7UGPY4wgx6pU9OYzff8es5kEnkmE hNu37we5Oq94S4iMIjNyHeSbvaVO5WEWhhB9liDjILxNhn3RyBptu4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=c1TP92o05Oe8OAt7fex06pY5xfE=; b=KR3ePSpY0Ji0fM5RCudv2ZulL0N7 mPHxYJZxIzIhOjOV8lHR/1PjGto+4wGlYD76877DmEA+yNW7tyk1Cfry/GH17w6H 31AjdENk2LKEAwPGCh52zlaegAVkpiTJI+i547psxeROdiyrRf4yGhoaAEjxBig+ 2THFN1ybbApIcvs= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Mark Geisert Subject: Re: cygwin ssh login long login delay while showing "last login" Date: Thu, 6 Aug 2015 16:52:25 +0000 (UTC) Lines: 35 Message-ID: References: <55C37CDA DOT 9020004 AT freenet DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Peter writes: > I have installed the cygwin ssh daemon on my w7 box with cygwin64. > > When I try to login I always get a long delay or timeouts on the client > side. > > I get quick response for the password and then a showing "Last login: ..." > > At this point the connection hangs for about 30s to 1min before I > finally get a login . > > This is what it shows when I try to do an ssh to my local host from my > local host: > > $ ssh testuser myw7host > testuser myw7host's password: > Last login: Thu Aug 6 12:46:23 2015 from 128.139.80.101 > > The password request and the Last login is almost instant but then it > hangs for about a minute before I get the login . > > I also tried to ssh testuser localhost or testuser 128.139.80.101 but > the effect is the same. > > How can I troubleshoot the issue? It's unclear to me whether you're saying the delay is in completing the "last login" line (and showing the IP address) or the delay is after the IP address is shown and before you get a shell prompt. If it's the first of these, it sounds like there's a DNS timeout trying to find the machine name for that address and failing. If it's the second of these, I would suspect something in one of the profile or login files for the shell involved. ..mark -- 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