[Bug 1697] scp transfers from remote cygwin machine fail with ssh versions >= 4.6

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Jan 14 09:51:38 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1697

--- Comment #3 from Darren Tucker <dtucker at zip.com.au> 2010-01-14 09:51:37 EST ---
(In reply to comment #2)
> This:
>  "echo 0 >/proc/sys/net/ipv4/tcp_window_scaling"
> completely fixes the problem. Thanks loads. 

You're welcome.

What type of ADSL device is it, so that we can add it to the mental
list of broken ones?

I suspect it's creating a firewall state only in the ethernet -> ADSL
direction, and since the window scale option is only on the first
packet, when you connect from outside the state doesn't know the
connection has window scaling and thus gets the TCP windows wrong.  If
this is the case, you would see that scping out would work (ie the same
data transfer direction but initiated from the other end).

> As far as I am concerned it is fixed. So I am changing the status.
> 
> However, before I came to you fellows, I searched extensively and there
> seems to ba a lot of instances of this problem. Is there somewhere I
> can add a FAQ or soemthing like that??

There's http://www.openssh.com/faq.html.  If you want to write
something I'll be happy to review and/or add it, but it's not a very
common problem (or at least, it's likely that the network brokenness
would be noticed long before anyone starts trying to scp files around).

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list