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: scp to pipe

Subject: Re: scp to pipe
Date: Mon, 13 Sep 2004 11:30:09 -0600
Hi there!

On Sat, 2004-09-11 at 03:49, hlaguy wrote:
How can scp write to a pipe that tar could then process?

Why scp?

It's not all clear fot me, but i think you may want this:

% tar czf - /path/to/my-files | ssh remote-host "cat > my-files.tgz"
or
% tar czf - /path/to/my-files | ssh remote-host tar xzf -

Regards,

-Mauricio

Attachment: signature.asc
Description: This is a digitally signed message part

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