How to limit the network rate used by scp in Linux?

I am using a shared network and scp to upload files. I do not want to use most of the bandwidth available. How to limit the network rate used by scp in Linux?

asked Mar 5, 2015 by Eric Z Ma (41,910 points)

1 Answer

 
Best answer

You can use the -l option of scp to limit the rate of bandwidth.

-l limit
Limits the used bandwidth, specified in Kbit/s.

For example, to limit the network bandwidth used. For example, to limit the bandwidth that scp uses to at most 1000 Kbit/s, you may use command

scp -l 1000 file user@remote:/path/to/dest/

For more options, check manual of scp.

answered Mar 5, 2015 by Eric Z Ma (41,910 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...