Skip to content

Limit the Rate of SCP

I was using scp to upload some files (as you should!) and maxing out my connection while doing it. It made using ssh problematic! Fortunately there’s an easy switch to use to limit the rate:

scp -l 1024 /file1 user@host:/file2

The -l switch limits scp to the specified upload rate in kilobits per second. Handy!

Tags:

2 thoughts on “Limit the Rate of SCP”

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Rob's Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading