www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/18/13:46:56

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 18 Sep 2008 11:44:31 -0600
From: Tom Schutter <tschutter AT proxix DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd is too slow
Message-ID: <20080918174431.GB5871@proxix.com>
References: <48D0BD7F DOT 5070701 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <48D0BD7F.5070701@gmail.com>
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
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

On Wed 08-09-17 03:19, Menghan Zheng wrote:
> command "ssh localhost -p 1022 -vvv" shows that:
> 
> ...
> debug3: sign_and_send_pubkey
> //here costs me nearly 4 seconds!
> debug2: we sent a publickey packet, wait for reply
> ...
> debug2: shell request accepted on channel 0
> Last login: Wed Sep 17 16:16:07 2008 from th143127.ip.tsinghua.edu.cn
> //here costs me nearly 3 seconds.
> sky AT TH143127:~$
> 
> 
> why is my sshd too slow?

Try adding this line to /etc/sshd_config:
  UseDNS no

Does that help?

-- 
Tom Schutter
First American - Proxix Solutions
303-440-7272 x6822

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019