I was talking to someone today who knew about rsync's bandwidth control, but not about scp's. Yep, they both have it.
rsync
For rsync
, you specify the bandwidth limit it KB/s.
rsync --bwlimit 200 foo server:bar
My common usage is:
rsync -avz -e ssh --bwlimit 200 --progress foo server:bar
scp
For scp
, you specify the limit in Kb/s (kilobits vs. kiloBytes).
scp -l 1600 foo server:bar