View previous topic :: View next topic |
Author |
Message |
DocReedSolomon Guru
Joined: 28 Aug 2006 Posts: 419
|
Posted: Tue Sep 19, 2006 6:11 pm Post subject: am i able to set a max. sftp uploadspeed? |
|
|
hi all!
i am uploading files to my rootserver using ssh (sftp).
in proftpd, i am able to set a maximum uploadspeed. is this possible using ssh as well
i dislike to use all my upload speed here at home..
thx! |
|
Back to top |
|
|
tony n00b
Joined: 03 Aug 2006 Posts: 43 Location: Frederick, MD
|
Posted: Tue Sep 19, 2006 8:55 pm Post subject: |
|
|
I took a look through all the sshd man pages and configuration guides and it doesn't appear that SSH or any of its subsystems (including SFTP) supports server-side rate limiting. You may be able to accomplish this on the client-side depending on which client you are using. You'd think this would be a option though
-- UPDATE --
If you _REALLY_ want to rate limit all SSH access you can set up traffic shaper devices and use iptables to forward all SSH requests (port 22) to the shaper of your choice. Not really an ideal solution but it would get the job done. http://www.linuxdevcenter.com/pub/a/linux/2000/08/24/LinuxAdmin.html has some good information on traffic shapers. |
|
Back to top |
|
|
DocReedSolomon Guru
Joined: 28 Aug 2006 Posts: 419
|
Posted: Tue Sep 19, 2006 9:17 pm Post subject: |
|
|
thx tony!
well, not really an ideal solution, though, thx for your hints.
i dont think i will go through all of this.
a pitty there is no such configuration option serverside
hmm.. maybe i setup a second FTP for this case using a different port then. |
|
Back to top |
|
|
|