by leif

How can I limit the ammount of bandwidth rsync over ssh (or anything else) uses, without a complicated firewall solution?

I guess there's nothing wrong with complicated firewall solutions, if you've got the time to set em up. But if you just need to limit the bandwidth of a certain process, you can use trickle, a portable lightweight userspace bandwidth shaper. I find it works well before ssh in an rsync command:

rsync -auvPe "trickle -d 80 ssh" user@host:/src/ /dst/

 


 
Read more of   The Yak's Frequently Questioned Answers   (mod.2008-11-08)

428.   What is emo surfing (emosurfing)?   [jake/2006-01-21]
421.   What is a Brosef?   [jake/2005-02-18]
418.   What is a comfort vegan?   [jake/2004-12-10]
384.   Where can I find good undergraduate summer research/internships?   [virgil/2003-10-03]
382.   What is the best combination Sushi Bar / Internet Cafe in Berlin?   [jake/2003-09-25]
359.   Is Larry Wall on crack?   [strick/2003-04-10]
343.   How can I patch my in kernel PCMCIA orinoco drivers so that I may change my MAC address/enter MonMode? (and use kismet, airsnort and the like...)   [jake/2002-12-19]
333.   what is the orgin of the word family?   [jesse/2002-10-25]
315.   How the do you crack (802.11b) WEP keys in linux? (and other havoc)   [jake/2003-01-07]
224.   Which Yak people have been in the news recently?   [rupe/2001-05-24] ( macki/2001-05-29 )
218.   how do I make my page appear in web search results?   [josh/2001-05-08] ( strick/2001-05-08 )
215.   what is the maximum length of a file name in mac os 9?   [jesse/2001-04-18]
211.   Who are strick's net.gods?   [strick/2001-04-08] ( rupe/2001-05-22 rupe/2001-05-22 )
190.   what is the diference betwwen an alias file, and a virtusertable file in sendmail?   [jesse/2001-03-05]
172.   What were the specs of the Apollo Guidance Computer (AGC)?   [rupe/2001-02-05] ( strick/2001-02-11 )
127.   How can I make the "whois" command work like before?   [robey/2000-09-28]
89.   What is the connecton between Karl Marx, Cinco de Mayo, and salsa?   [strick/2000-05-05]
79.   Where can I find information on the QA process used to validate space shuttle software?   [rupe/2000-05-19]
52.   What countries are .HR .SR .TT .LK etc.   [strick/2000-02-07]
24.   Why is the ocean blue?   [simon/2000-01-20]
17.   How can I make a didgeridoo for traveling?   [ult/2002-04-20]
15.   Where can i find the standard for a useful method of transmitting IP datagrams in Metropolitan Area Networks?   [jamison/2000-01-18]