scp to pipe
From: hlaguy (hlaguy_at_excite.com)
Date: 09/11/04
- Previous message: Bob Rasmussen: "Sending signals from client to server"
- Next in thread: Mauricio Araya V.: "Re: scp to pipe"
- Reply: Mauricio Araya V.: "Re: scp to pipe"
- Reply: David Hutchins: "Re: scp to pipe"
- Reply: konsar: "Re: scp to pipe"
- Reply: Robert Hajime Lanning: "Re: scp to pipe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: secureshell@securityfocus.com Date: Sat, 11 Sep 2004 05:49:56 -0400 (EDT)
How can scp write to a pipe that tar could then process?
On i386 Gentoo Linux, using bash, the following works
cat myfile.tar.gz | tar -xf
however, this does not work
scp myuser@mycomp:~/myfile.tar.gz | tar -xz
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
nor does this
tar -xz < scp myuser@mycomp:~/myfile.tar.gz
I can't think of a way to tell scp to write to pipe instead of a named file. Any suggestions are welcome.
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
- Previous message: Bob Rasmussen: "Sending signals from client to server"
- Next in thread: Mauricio Araya V.: "Re: scp to pipe"
- Reply: Mauricio Araya V.: "Re: scp to pipe"
- Reply: David Hutchins: "Re: scp to pipe"
- Reply: konsar: "Re: scp to pipe"
- Reply: Robert Hajime Lanning: "Re: scp to pipe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|