l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2010 Dec 01 20:40

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] scp bandwidth limit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] scp bandwidth limit



On Wed, 2010-12-01 at 16:03 -0800, Bill Kendrick wrote:
> My DSL is assymetric.  Uploads slow down everything else (most
> notably, my SSH sessions).
> 
> This is particularly noticable now that I have a WiFi router that does
> more than just 802.11b.  (In other words, it's a lot easier for my
> laptop to saturate my DSL bandwitdh now ;) )
> 
> 
> I find that things work nice if I limit the upload speed using
> "scp -l 240" (30KB/s, since it seems to max out at about 50-60KB/s).
> However, I'd like to do this only when uploading, not downloading.
> So setting up an alias (e.g., "alias scp scp -l" in my ~/.bashrc)
> isn't the best solution.
> 
> Is there a config somewhere that I can use to limit 'local -> remote'
> transfers (uploads), while not limiting 'remote -> local' transfers
> (downloads)?  I don't see _anything_ related to bandwidth limiting
> in "man ssh_config" (which kinda makes sense, since the "-l" option
> is specific to scp).
> 
> Is there some scp config file that I'm not discovering? :)

Perhaps you'd like to look at traffic shaping at the kernel level
instead. See http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/

(You should be able to just install apt-get install wondershaper, read
the readme, tell it your upload and download speed, and get good
results.)
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!