delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/16/19:59:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT sources DOT redhat DOT com
Subject: Corinna: SSH/SCP hangs on NT4SP6, sshd says broken pipe after sent adjust
Message-ID: <979693109.3a64ee357fcf9@localhost>
Date: Wed, 17 Jan 2001 01:58:29 +0100 (CET)
From: Wolfgang Spraul <wspraul AT q-ag DOT de>
MIME-Version: 1.0
User-Agent: IMP/PHP IMAP webmail program 2.2.3
X-Originating-IP: 127.0.0.1

I found out more about my current sshd/scp problem (see below) after reading
Corinna's announcement:

> [ANNOUNCEMENT] Updated: OpenSSH-2.3.0p1-1
> From: Corinna Vinschen <vinschen at redhat dot com> 
> Date: Wed, 10 Jan 2001 07:22:03 -0500 
>
> I've updated the version of OpenSSH in cygwin/latest to 2.3.0p1-2.
>
> This version is the same as 2.3.0p1-1 except that it's compiled
> using pipes instead of socketpairs. If you have encountered
> problems using native Windows commands over ssh, try this
> version. If you never had problems there's no need to upgrade.

In fact, my problem (see below) goes away after switching back from p1-2 to
p1-1. Corinna, I have SCP problems with large files when talking to sshd
2.3.0p1-2 on both NT4SP6 and W2K (no SP). Probably everybody is affected, should
be easy to reproduce.

Let me know if you need more data. For now, I will stick to 2.3.0p1-1.
Regards,
Wolfgang

----- Forwarded message from Wolfgang Spraul <wspraul AT q-ag DOT de> -----
Date: Tue, 16 Jan 2001 02:56:10 +0100 (CET)
From: Wolfgang Spraul <wspraul AT q-ag DOT de>
Reply-To: Wolfgang Spraul <wspraul AT q-ag DOT de>
Subject: SSH/SCP hangs on NT4SP6, sshd says broken pipe after sent adjust
To: cygwin AT sources DOT redhat DOT com

my server: NT4 SP6, latest Cygwin, sshd through srvany.exe
my client: RedHat 7, scp

Copying small files (14 KB in my example) works fine, but copying larger files
always hangs my Cygwin SSHD service.

The last few lines in the sshd -d -d -d log say

debug2: callback done
debug2: channel 0: read 3014 from efd 10
debug2: channel 0: window 16359 sent adjust 16409
Broken pipe

The client says (scp -v)

file_20mb 0% 0 --:-- ETA
Read from remote host xxx: Connection reset by peer
Exit status -1
lost connection

------------
Any ideas? Why does sshd adjust the window size? Could it be textmode/binmode
related?
Again, a small file (14KB) goes through smoothly, and I also have the same
Cygwin sshd working fine on a W2K box.
Regards,
Wolfgang

----- End forwarded message -----

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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