Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: openssh: Limiting bandwidth on ssh (stdin-to-dd)

Subject: Re: openssh: Limiting bandwidth on ssh (stdin-to-dd)
Date: Mon, 17 Apr 2006 15:29:38 -0400




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"                                                 
             <mholden@nortel.c                                             
             om>                                                           
                                                                        To 
             04/17/2006 10:56                                           To 
             AM                        <secureshell@securityfocus.com>     
                                                                        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 user@remote-server 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



<Prev in Thread] Current Thread [Next in Thread>