Sep 16 2009

How to control or throttle SCP file transfer speed

Published by at 11:43 am under Unix/Linux

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 someuser@someserver.com:backups/.

3 responses so far

3 Responses to “How to control or throttle SCP file transfer speed”

  1. Lee says:

    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!

    Lee

  2. Holy cow…what Lee said. So handy, and so simple. Thanks!

Leave a Reply