  
<div id="snippet_113" class="snippet">
  <h2><a href="/snippets/113-Limiting-scp-bandwidth-usage" title="Limiting scp bandwidth usage - Shell Script (Bash) - scp, limit bandwidth, kaistan rajaaminen, begränsad bandbredd">Limiting scp bandwidth usage</a></h2>
  <div class="details">
    <a style="background-color: #FFFF94;" href="http://snippets.aktagon.com/languages/131-Shell-Script-Bash-">
      Shell Script (Bash)</a> posted over 2 years ago by marko
          
  </div>

  <div class="body">
    <p>Use the -l parameter of scp to limit the speed of a file transfer (both upload or download). An empirically tested, good value for a 54Mbit wireless connection is 18000:
<pre class="active4d"><span class="line-numbers">   1 </span> scp -l 18000 remotehost:file.img .
</pre></p>
  </div>

  <div style="font-size: 0.8em;margin:0.5em;">
    
      Tagged <a href="/tags/137-scp">scp</a>, <a href="/tags/285-limit-bandwidth">limit bandwidth</a>, <a href="/tags/286-kaistan-rajaaminen">kaistan rajaaminen</a>, <a href="/tags/287-begr-nsad-bandbredd">begränsad bandbredd</a>
    
    
  </div>
</div>






