scp fails after sending command: scp -v -t

Jan F. Chadima jchadima at redhat.com
Tue Sep 13 08:35:04 EST 2011


On Sep 12, 2011, at 11:57 PM, phorminx at web.de wrote:

>> oh, great idea! a misconfigured stateful firewall can screw up TCP
>> window scaling. You can test this by disabling window scaling on
>> either end (exactly how is platform dependent, on Linux it's usually
>> "sysctl net.ipv4.tcp_adv_win_scale=0"
> 
> Thanks! Actually, if I understand the tcp man page correctly, it
> should be net.ipv4.tcp_window_scaling, and sysctl requires `-w'.
> Anyway, unfortunately this does not work for me  :-(
> 

for modern linux is relevant pseudo file
/proc/sys/net/ipv4/tcp_window_scaling
if you see there something other than 0
you have tcp window scaling enabled.
echo "0" > $this_file switch it off.


> I am certainly not an expert for such things. Nonetheless,
> what really irritates me about this is that I can use ssh in certain
> ways to transfer arbitrary amounts of data without any problems.
> Only some other ways that I'd prefer to use are failing.
> 
> ___________________________________________________________
> Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
> Toolbar eingebaut! http://produkte.web.de/go/toolbar
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

Jan F. Chadima
jchadima at redhat.com





More information about the openssh-unix-dev mailing list