public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mark Geisert <mark@maxrnd.com>
To: cygwin@cygwin.com
Subject: Re: cygwin ssh login long login delay while showing  "last login"
Date: Thu, 06 Aug 2015 16:52:00 -0000	[thread overview]
Message-ID: <loom.20150806T184425-963@post.gmane.org> (raw)
In-Reply-To: <55C37CDA.9020004@freenet.de>

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 <at> myw7host
> testuser <at> 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 <at> localhost or testuser <at>
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

  reply	other threads:[~2015-08-06 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06 15:29 Peter
2015-08-06 16:52 ` Mark Geisert [this message]
     [not found] <1438879959.34691.ezmlm@cygwin.com>
2015-08-06 17:19 ` Peter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20150806T184425-963@post.gmane.org \
    --to=mark@maxrnd.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).