delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Steve Holden <steve AT holdenweb DOT com> |
Subject: | Re: ssh connection from a linux box is extremely slow |
Date: | Fri, 28 Sep 2007 16:00:31 -0400 |
Lines: | 38 |
Message-ID: | <fdjmh0$m58$1@sea.gmane.org> |
References: | <200709281326 DOT 23283 DOT kevin AT kevinkempterllc DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.6 (Windows/20070728) |
In-Reply-To: | <200709281326.23283.kevin@kevinkempterllc.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Kevin Kempter wrote: > Hi List; > > I looked at the archives and google's this issue with no success. I've setup > winXP with Cygwin and installed the ssh-server. > > With the ssh service running I can connect from an external box via ssh but > the connection takes at least 30seconds before I get a password prompt, and > in some cases takes over a minute. > > Thanks in advance for any help, thoughts, comments, etc... > > > > This kind of delay is most often associated with failed reverse DNS lookups (attempts to resolve an IP address to a name). Wireshark (nee Ethereal) will show the DNS traffic if this is the case. Typically the client wants to display the server's name where it can, instead of its IP address. The simplest way to address this is to put a server entry in the client's /etc/hosts (or Windows equivalent). More generally, perhaps something like the following might work: # echo 'UseDNS no' >> /etc/ssh/sshd_config # /etc/init.d/sshd restart Hope this helps. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden Sorry, the dog ate my .sigline -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |