How to control or throttle SCP file transfer speed
I wanted to control how fast SCP copy data between two Linux servers. On a Linux system this can easily be achieved using the “SCP -l” switch. In my case I had to make sure to not exceed 0.5 Mbit/s
Since the “-l” parameter uses Kbit/s the correct value in my case is 500
scp -l 500 big-file.tar firstname.lastname@example.org:backups/.
Great little tip, never realised how simple this was! Thanks for the advice, definately useful for transferring stuff like backups which aren’t of a huge priority whilst concurrently saving some bandwidth for other stuff!
It’s funny you’d say that because that’s exactly what I needed it for.
Holy cow…what Lee said. So handy, and so simple. Thanks!
Leave a Comment