Sep 16 2009

How to control or throttle SCP file transfer speed

Published by michael 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/.
Share and Enjoy:
  • Print
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Technorati
  • Twitter

Related posts:

  1. How to automatically provide an answer to Unix commands How do you automatically provide an answer to a Unix...

2 responses so far

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

  1. Leeon 02 Apr 2010 at 5:24 am

    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. michaelon 02 Apr 2010 at 10:49 am

    It’s funny you’d say that because that’s exactly what I needed it for.

Trackback URI | Comments RSS

Leave a Reply