Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: ssh and tar combined?
Date: Wed, 28 Dec 2005 07:09:34
Message-Id: dotdeu$km6$1@sea.gmane.org
In Reply to: Re: [gentoo-user] ssh and tar combined? by Ow Mun Heng
1 Ow Mun Heng wrote:
2
3 >
4 > Locallly :
5 >
6 > tar lcf - . | (cd /other/area/store; tar -xpvf - )
7 > tar lcf - /path/to/file | (cd /other/area/store; tar -xpvf - )
8
9 Thanks, I've used that in the past but I could only get it to work in the
10 same (local) computer.
11
12 >
13 > via SSH remotely :
14 >
15 > tar -czf - /directory/to/copy | ssh systemB tar -xzvf - -C /tmp
16
17 If local box is 192.168.0.2 and remote box is 192.168.0.3 what should the
18 above paths look like?
19
20 >
21 > How's that?? Bear in mind that SSH will use some overhead due to
22 > encryption. (you can change the cipher to blowfish if you want/is not
23 > that paranoid :-)
24
25 How do I change the encryption to blowfish?
26 --
27 Regards,
28 Mick
29
30 --
31 gentoo-user@g.o mailing list