Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.