limiting SSH client's bandwidth?



Is it somehow possible to limit OpenSSH client's bandwidth?

Today I was copying data (whole block devices) over internet with:

dd if=/dev/san10/xen1 | bzip2 -9 | ssh 192.168.15.46 "bzip2 -d | dd of=/dev/san18/xen1"


It worked fine, but the latency of other connections was horrible,
because the above connection ate almost all bandwidth available.


scp has this option:

-l limit
Limits the used bandwidth, specified in Kbit/s.

But it looks that it's not available to ssh.

I wouldn't like to use 3rd party programs or system settings,
because they are not portable, sometimes require root privileges
and are just additional burden for a one-off task.


--
Tomasz Chmielewski
http://wpkg.org



Relevant Pages

  • Re: limiting SSH clients bandwidth?
    ... Today I was copying data over internet ... It worked fine, but the latency of other connections was horrible, ... Limits the used bandwidth, specified in Kbit/s. ...
    (SSH)
  • Network performance, high latency?
    ... I have a headquarter with a 1mbit line to the Internet. ... There are 5 pc/terminalusers on each remote office. ... What I've read is that a TS client would use 30kbit bandwidth, ... the 512kbit remote office has also a very high latency. ...
    (microsoft.public.windows.terminal_services)
  • Re: World Cup question
    ... So he wasn't talking about a mobile phone, ... with massive wireless bandwidth. ... You do know the latency of a satellite network makes your concept ... video on tape. ...
    (rec.travel.europe)
  • Re: Evil monopolists and the future of the internet
    ... "The End of the Internet?" ... "The nation's largest telephone and cable companies are ... excess bandwidth after hours (I don't know if such is still ... multiple connections to a website based somewhere in Rio ...
    (sci.econ)
  • Re: Prices for Internet access may increase
    ... Time Warner Cable is testing a new system that would charge customers for their Internet access based on how many gigabytes of data they use. ... For customers who don't spend a lot of time surfing the net or downloading music and movies, the billing system may save them money. ... My wall connection to the University back bone is N $ per month with a cap. ... The idea that I can now download free movies all night instead of renting them hurts other lower bandwidth users. ...
    (alt.tv.tech.hdtv)

Quantcast