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

I'd like to let users download / upload files via scp to my centos 6.0 system, it's connected to lan via Gigabit ethernet, but I don't want transfers to flow at that speed. I want to limit the speed to 10Mb/s.

I have managed to find the right configuration for vsftpd to limit the rate, but failing to find the same for sshd.

Any help would be very much appreciated.

Edit : Just to make it clearer, I am trying to limit the max speed on the server side.

share|improve this question

migrated from Apr 30 '12 at 14:36

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

You'll have to implement QOS which won't differentiate between ssh and scp (since scp uses ssh protocol on the same port).

share|improve this answer
Also see <…; on how it is possible (to some extent) to differentiate between ssh and scp. – Oliver Apr 30 '12 at 16:46
Today I learned something, cool! – platinummonkey Apr 30 '12 at 19:16
Hmmm. Too bad there is no simple way like there is for vsftpd, I think i'll just use iptables or tc qdisc (netm) – eitama Apr 30 '12 at 21:08

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.