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?
If you have cooperative users, you can limit the files transfer using:
-l limit
inscp
. For more info, seeman 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.