My file server (Ubuntu) on the internet runs OpenSSH, where users upload and download files using scp or WinSCP. At the same time, the server runs some web applications (http), which need higher priority.

Is there a way to give HTTP priority over SSH file transfer? If not, can I limit SSH bandwidth?

  • 3
    Do you know what might help? how about telling us what operating system you're running on? Windows, Linux, OSX, Solaris etc? – Chopper3 Jan 24 '11 at 10:27

If you have cooperative users, you can limit the files transfer using: -l limit in scp. For more info, see man scp.

Otherwise, you need to implement some traffic shaping using tc. I am talking about Linux systems.


You can use a tool called trickle to slow down the traffic on SSH - it's really useful, I use it to control the speeds of remote backups and such.

  • Can you give an example? – Matt Simmons Jan 24 '11 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.