I want to apologize to everyone, I just noticed that Mark was asking about
bandwidth limiting not on how to copy a directory through ssh. Please
disregard my last email.




R. James Stull
Network Administrator
Caterpillar, Lafayette Engine Center




                                                                           
             "Mark Holden"                                                 
             <[EMAIL PROTECTED]                                             
             om>                                                           
                                                                        To 
             04/17/2006 10:56                                           To 
             AM                        <[email protected]>     
                                                                        cc 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                   Subject 
                                       openssh: Limiting bandwidth on ssh  
                                       (stdin-to-dd)                       
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



Caterpillar: Confidential Green                 Retain Until: 05/17/2006
                                                Retention Category:  G90 -
                                                General
                                                Matters/Administration


I'm looking at using "ssh" from the openssh package, to perform secure
backups of large directories from a local server to a remote server as
in the following command executed on the local server.

>tar -cf - ./test_dir | ssh [EMAIL PROTECTED] dd of=test_dir.tar

Ie., I don't want to first create the tar file on the local system then
use scp to copy it off, as there may not be enough disk storage on the
local system to create the tar file. However, I cannot seem to find any
way, for the above style of transfer using ssh, to do something like the
"-l" option of scp to limit the amount of bandwidth used during the
transfer.

Does anybody know of a way?

Thanks,
Mark



Reply via email to