Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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.

share|improve this answer

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.

share|improve this answer
Can you give an example? – Matt Simmons Jan 24 '11 at 13:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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