This is the mail archive of the
mailing list for the Cygwin project.
Re: cygwin ssh login long login delay while showing "last login"
- From: Mark Geisert <mark at maxrnd dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 6 Aug 2015 16:52:25 +0000 (UTC)
- Subject: Re: cygwin ssh login long login delay while showing "last login"
- Authentication-results: sourceware.org; auth=none
- References: <55C37CDA dot 9020004 at freenet dot de>
> 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
> 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 <at> myw7host
> testuser <at> myw7host's password:
> Last login: Thu Aug 6 12:46:23 2015 from 22.214.171.124
> 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 <at> localhost or testuser <at>
> 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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple