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.2010-02-10)

442.   What is erlang (and why should I care?)   [aestetix/2008-06-01]
424.   Where do you get StrickPants?   [strick/2007-06-30]
410.   What is naked sushi? What is Nyataimori? What is Nyotaimori? Or how do I ask for a "Naked Sushi" bar?   [jake/2006-05-21] ( novalis/2005-03-30 )
374.   How can I make Gnu/Linux behave like a Real Unix (TM)?   [jake/2003-09-22]
340.   what can i use to debug my mail server when pop3 or imap isnt working?   [jesse/2002-12-09]
333.   what is the orgin of the word family?   [jesse/2002-10-25]
324.   whats the right command to use stunnel like an SSL version of telnet(client)?   [jesse/2002-09-08]
286.   What's the best Thai Restaurant in Atlanta? (Zab-e-Lee!)   [strick/2001-11-14]
267.   Where can I find lava-lamp generated pseudo random numbers?   [rupe/2001-08-16]
214.   Where can I find major and minor classical texts on the 'Net?   [rupe/2001-04-18]
198.   What tiny laptop does strick travel with?   [strick/2001-03-13]
190.   what is the diference betwwen an alias file, and a virtusertable file in sendmail?   [jesse/2001-03-05]
171.   How do I read a huge file line by line in Python, without loading the entire thing into memory first?   [rupe/2001-02-01] ( enki/2003-10-20 )
168.   What's the Official Fag Razor of the YAK?   [strick/2001-01-29]
140.   What was programming the Royal McBee LGP-30 like?   [rupe/2000-10-25]
117.   Where can I find information on character codes, and encoding issues?   [rupe/2000-09-12]
108.   How can i get custom ring tones onto my cell phone?   [jesse/2000-07-09]
65.   Where can I get help with my Physics homework?   [strick/2000-02-22]
62.   What is the diameter of the World Wide Web?   [jamison/2000-04-01]
33.   What is 'netpbm' ?   [strick/2000-01-26]
27.   What is Bleech made from   [vonguard/2000-01-23] ( rupe/2001-05-30 )