Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2003 18:14:30 +0300
From:      ODHIAMBO Washington <wash@wananchi.com>
To:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Reverse tar
Message-ID:  <20030502151430.GB631@ns2.wananchi.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]

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@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.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+sotWn7LIsuxjem8RAp0wAJ99Y1VAkAvtk3IKnZvRsral+zLTygCgktQp
uBCi0v5gzfueJvwAfg5ZfYg=
=0UlC
-----END PGP SIGNATURE-----
help

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