Is it possible to rate-limit an scp/sftp/rsync transfer from the command-line? ie, manual QoS on a s

Posted by warren on Super User See other posts from Super User or by warren
Published on 2010-04-02T20:45:40Z Indexed on 2010/04/02 20:53 UTC
Read the original article Hit count: 325

Filed under:
|
|
|
|

Specifically, I am looking to rate-limit an scp or sftp session in the call itself.

For example, let's say I want to copy 100MB to one server, and 1GB to another. I'd like to be able to run both of these at the same time, but maintain a QoS for "normal" computer usage - somewhat similar to how you can rate-limit bittorrent.

Is there a way to do this without touching the networking hardware?

I'm envisioning something akin to:

magic-qos-tool 'scp file user@host:/path/to/file'

Or..

scp -rate 40kbps file user@host:/path/to/file

© Super User or respective owner

Related posts about scp

Related posts about sftp