X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: openssh delay (5secs) to windows XP cygwin box Date: Mon, 15 Jan 2007 17:23:17 +0100 Message-ID: <213219CA6232F94E989A9A5354135D2F0187BCD3@frqexc04.emea.cpqcorp.net> From: "Cabaniols, Sebastien" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l0FGNlHJ016922 Hello list, I am running the current version of cygwin on a windows XP box (a recent laptop), I installed openssh and I setup'ed password less authentication (I use also privilege separation) time ssh laptop date returns in 6seconds whereas the openssh webpage suggest a modest hardware should do the same within 1 sec. My problem is the delay to connect to the box. On the openssh webpage, it is mentionned that delays above 10secs come from DNS/resolution problems. The delay I have is 6secs and does not come from DNS issues (I removed DNS from the way by two means. First I have put all information into /etc/hosts and second I have UseDNS set to no in sshd_config (and I did stop/start sshd via net stop/start sshd)) I tried to run ssh -vvv on the client side (debian linux) to see where the process is stuck. I also tried to run sshd in debug mode. Nothing interesting at least for me and google. I also tried to do the same with localhost from the windows box to itself. This also takes 5secs. The only interesting thing I found is that when I unplug my laptop from the network everything becomes smooth: (laptop plugged into the corporate network) time ssh localhost date Mon Jan 15 17:11:27 RST 2007 real 0m6.570s user 0m0.150s sys 0m0.100s (laptop unplugged from the network) Can anybody tell me if there are some tricks to play with Windows around this ? thanks in advance for any help. -- 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/