Re: using ssh remotely
- From: rvaede@xxxxxxxxx
- Date: Fri, 22 Feb 2008 11:32:05 -0800 (PST)
On Feb 22, 12:14 pm, Cyrus Kriticos <cyrus.kriti...@xxxxxxxxxxxxxx>
wrote:
rva...@xxxxxxxxx wrote:
I am trying to execute this command using ssh:
ssh 1.4.999.99 gunzip /tmp/test2.tar.gz | tar -xf -
it seems like its executing the gunzip but not untarring the file..
Can this be done using ssh?
Extract on localhost:
ssh x.x.x.x gunzip -c /tmp/test2.tar.gz | tar -xf -
Extract on remote server:
ssh x.x.x.x "gunzip -c /tmp/test2.tar.gz | tar -xf -"
--
Best regards | Be nice to America or they'll bring democracy to
Cyrus | your country.
This doesn't work. It doesn't even do the first step which is gunzip
.
- Follow-Ups:
- Re: using ssh remotely
- From: Cyrus Kriticos
- Re: using ssh remotely
- References:
- using ssh remotely
- From: rvaede
- Re: using ssh remotely
- From: Cyrus Kriticos
- using ssh remotely
- Prev by Date: Re: Remove last word in a file
- Next by Date: Re: using ssh remotely
- Previous by thread: Re: using ssh remotely
- Next by thread: Re: using ssh remotely
- Index(es):
Relevant Pages
|