delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/08/21:42:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4b06455b0709081842s1e4dfb96w7d8292b5bfdd261d@mail.gmail.com>
Date: Sun, 9 Sep 2007 09:42:08 +0800
From: "Scott McNab" <scott DOT mcnab AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: SSH dropouts with heavy session traffic
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hello.

I upgraded my cygwin packages recently and have started getting
problems with ssh connections terminating unexpectedly with the
following message:

  Timeout, server not responding.

This only happens when sending/receiving a burst of data at once (i.e.
typing single characters etc works fine). I can consistently reproduce
this for example by doing the following:

  ssh user AT otherhost DOT com
  ls -lR /

It will dump several screens worth of directory listings and then die
unexpectly with the above error message. I can also make it fail
sending data as well - for example, by cut-and-pasting a chunk of text
into the ssh session.

I believe this problem may have something to do with the way
interactive ssh sessions are managed, because it does NOT occur when
simply executing non-interactive commands. For example, the following
command consistently works fine!:

  ssh user AT otherhost DOT com ls -lR /

I have tried reinstalling the packages and have tested this with both
OpenSSH 4.5 and 4.6 packages and they exhibit the same problem. I know
it is not a network adaptor issue because an equivalent SSH session
with Putty works fine.

Does anyone have any idea what might be causing this? (I am running WinXP SP2)

BTW I don't know if it is related, but I also recently started getting
problems with ssh-add (before these dropouts started occuring):

  $ eval `ssh-agent`
  Agent pid 3208
  $ ssh-add
  Enter passphrase for /home/Scott McNab/.ssh/identity:
  Error reading response length from authentication socket.
  Error writing to authentication socket.
  Could not add identity: /home/Scott McNab/.ssh/identity

I can live without ssh-agent however the constant terminal dropouts
are a real showstopper.

Thanks in advance for any insight you can provide!
Scott

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