www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | openssh sshd slow logins |
Date: | Mon, 3 Jan 2005 11:46:59 -0800 |
Message-ID: | <D790136A12A3CE4A952A873DE8B0CEE41EA242@aruba-server.arubanetworks.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Dave Wang" <dave AT arubanetworks DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j03JlR5w029465 |
hi, i'm having a problem where my cygwin openssh sshd logins are slow. i am using rsa key autologins. only a certain portion of the login is slow. when i do a "ssh -x <user>@<cygwinmachine>" from my linux box, the authentication is immediately successful (the motd prints out immediately), but then it takes about 5 seconds for the shell to appear. I know that the shell is not slow in starting up, because in /etc/passwd i've replaced the shell with the "date" command , and that takes an equally slow amount of time to get from the motd to the shell program execution. -- i've added the option "UseDNS no" to the sshd_config file, to avoid reverse dns lookups. -- "sshd" is setup as an XP service, with access to the desktop -- "ssh -vvv user AT machine" doesn't show anything wrong. it is virtually instantaneous until after printing the motd. -- rsa key logins to a linux box on the same segment as the windows give me an instantaneous shell. the last thread i saw about sshd logins being slow was dated in 2001, and those were resolved by disabling the reverse dns lookups (which i've done). Any comments are appreciated. Thanks! -dave dave at arubanetworks dot com -- 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 |