Re: ssh and scp get stuck after some amount of data
Bruno Haible <[email protected]> Mon, 15 Jan 2018 12:31:04 +0100
| Newsgroups | gmane.os.hurd.general |
|---|---|
| Message-ID | <1714257.fMAArT5xjW@omega> |
Hi, I tried: > # tar cf - directory | ssh [email protected] 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 [email protected] 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