help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh and scp get stuck after some amount of data


From: Bruno Haible
Subject: Re: ssh and scp get stuck after some amount of data
Date: Mon, 15 Jan 2018 12:31:04 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-104-generic; KDE/5.18.0; x86_64; ; )

Hi,

I tried:
> # tar cf - directory | ssh bruno@10.0.2.2 tar xf -
> It hangs after transferring 1.6 GB. I.e. no more data arrives within 15 
> minutes.

Found a workaround: Throttling of the bandwidth.
- Throttling at the network adapter level [1] is not applicable to Hurd.
- The 'throttle' program [2] is no longer available.
- But a replacement program [3] is available.

The command that worked for me (it limits the bandwidth to 1 MB/sec):

# tar cf - directory | ~/throttle.py --bandwidth 1024576 | ssh bruno@10.0.2.2 
tar xf -

But really, this is only a workaround. It smells like a bug in ssh or the Hurd.

Bruno

[1] 
https://askubuntu.com/questions/307907/can-we-manually-throttle-the-bandwidth-of-a-network-interface
[2] https://linux.die.net/man/1/throttle
[3] https://github.com/Phredward/throttle




reply via email to

[Prev in Thread] Current Thread [Next in Thread]