Reverse tar

ODHIAMBO Washington wash at wananchi.com
Fri May 2 08:14:40 PDT 2003


I would like to ssh to host B, cd some/path, tar some/path/directory/ and output
the tarball locally to TARBALL.tgz

I could ssh to host B, create the tarball, then ftp but I have space limitations
on host B. Also I could ssh to host B then do

tar -czf - somedir | ssh host A '(cd some/path; cat > somefilename.tgz)'


but security (reverse lookup issues) prevent this.

I am only glad to know how method 1 can work. I know I can workaround the reverse
lookups ;-)


Thank you


-Wash

-- 
Odhiambo Washington   <wash at wananchi.com>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)


Spouse, n.:
	Someone who'll stand by you through all the trouble you
wouldn't have had if you'd stayed single.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030502/e3c9f79b/attachment.bin


More information about the freebsd-questions mailing list