Groups | Search | Server Info | Login | Register


Groups > gnu.hurd.help > #364

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

From Bruno Haible <bruno@clisp.org>
Newsgroups gnu.hurd.help
Subject Re: ssh and scp get stuck after some amount of data
Date 2018-01-15 12:31 +0100
Message-ID <mailman.7419.1516024962.27995.help-hurd@gnu.org> (permalink)
References <2153542.7pxrWlxkAc@omega>

Show all headers | View raw


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

Back to gnu.hurd.help | Previous | Next | Find similar


Thread

Re: ssh and scp get stuck after some amount of data Bruno Haible <bruno@clisp.org> - 2018-01-15 12:31 +0100

csiph-web