Groups | Search | Server Info | Login | Register


Groups > gnu.hurd.help > #364

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

Path csiph.com!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!usenet.stanford.edu!not-for-mail
From Bruno Haible <bruno@clisp.org>
Newsgroups gnu.hurd.help
Subject Re: ssh and scp get stuck after some amount of data
Date Mon, 15 Jan 2018 12:31:04 +0100
Lines 24
Approved help-hurd@gnu.org
Message-ID <mailman.7419.1516024962.27995.help-hurd@gnu.org> (permalink)
References <2153542.7pxrWlxkAc@omega>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 7Bit
X-Trace usenet.stanford.edu 1516024963 6231 208.118.235.17 (15 Jan 2018 14:02:43 GMT)
X-Complaints-To action@cs.stanford.edu
To help-hurd@gnu.org
Envelope-to help-hurd@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; t=1516015865; s=domk; d=clisp.org; h=Content-Type:Content-Transfer-Encoding:References:In-Reply-To: Message-ID:Date:Subject:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=46ierx3hLAfaHX9S1beWAk0e/jkv3RhsrGukFnH4HnU=; b=LGuKGCLbJmGltMOg4sC+rS4h0sDALhvlGpQZE65xC2u/FAs8SX3zm3LbG7I1xTtfNy prs6p72+5LlFNtMxWwqmdeIjHYCjFzXmGtETC/7IVOyjGRx+L641XLq7RiKMoyKJGjRV img48I4PH7uO57h85f9uTqhDAl4OUce6aSvTI=
X-RZG-AUTH :Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGafwy/s=
X-RZG-CLASS-ID mo00
User-Agent KMail/5.1.3 (Linux/4.4.0-104-generic; KDE/5.18.0; x86_64; ; )
In-Reply-To <2153542.7pxrWlxkAc@omega>
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 2a01:238:20a:202:5300::11
X-Mailman-Approved-At Mon, 15 Jan 2018 09:02:40 -0500
X-BeenThere help-hurd@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Users list for the GNU Hurd <help-hurd.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/help-hurd>, <mailto:help-hurd-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/help-hurd/>
List-Post <mailto:help-hurd@gnu.org>
List-Help <mailto:help-hurd-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/help-hurd>, <mailto:help-hurd-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.hurd.help:364

Show key headers only | 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