Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 16:33:13 +0300
From:      Igor Roboul <igorr@sysadm.stc>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: tar to a remote box
Message-ID:  <20020226133313.GA22181@sysadm.stc>
In-Reply-To: <20020226132446.GF83827@ns2.wananchi.com>
References:  <20020226132446.GF83827@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 26, 2002 at 04:24:46PM +0300, Odhiambo Washington wrote:
> Hello list,
> 
> I know for sure that this is possible but I can't figure out how ;-?
> 
> 
> tar -cZf file.tgz | ssh remote_box -l username | put the file there
tar czf - somedir | ssh host2 "cat > ~/qqq.tgz" 


-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020226133313.GA22181>