Gentoo Archives: gentoo-user

From: Jeff <jmg_071769@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tar over ssh
Date: Tue, 24 Jan 2006 18:17:12
Message-Id: 43D66B63.2050108@comcast.net
In Reply to: Re: [gentoo-user] tar over ssh by Tom Smith
1 Tom you big jerk. LOL! jk man...
2
3 Well, I would call it, piping through a tunnel? Tunneling through a
4 pipe? The concept seems very *nix-like to me.
5
6 *shrug*
7
8 Thanks to all... wish me luck!
9
10 Tom Smith wrote:
11 > John Jolet wrote:
12 >
13 >
14 >>On Jan 24, 2006, at 11:20 AM, Tom Smith wrote:
15 >>
16 >>
17 >>>Jeff wrote:
18 >>>
19 >>>
20 >>>>Hey guys.
21 >>>>
22 >>>>I've got this big fat backup server with no space left on the hard
23 >>>>drive
24 >>>>to store a tar file. I'd like to pipe a tar through ssh, but not sure
25 >>>>what the command would be. Something to the effect of:
26 >>>>
27 >>>># cat /var/backup | ssh backup.homelan.com 'tar data.info.gz'
28 >>>>
29 >>>>So that, the data is actually being sent over ssh, and then
30 >>>>archived on
31 >>>>the destination machine.
32 >>>>
33 >>>>Help!
34 >>>>
35 >>>>:-)
36 >>>>
37 >>>>
38 >>>
39 >>>Not possible. What you want is more along the lines of AFS, NFS,
40 >>>SMB, or
41 >>>the like.
42 >>>
43 >>
44 >>WRONG. I do it all the time.
45 >
46 >
47 > Ok,. my bad. (Open mouth, insert foot. :-D )
48 >
49 > Being a *nix junkie, I tend to do some things old school--that is, there
50 > are specific tools that are (dare I say) more specialized to such a
51 > task. You know... SSH = Secure SHell, SCP = Secure CoPy, SFTP = Secure
52 > FTP... So I had never really looked into using the "ssh" program for
53 > copying files between servers--it's always been more of a telnet-like
54 > application for me.
55 >
56
57 --
58 Darth Vader:
59 I find your lack of faith disturbing.
60
61 --
62 gentoo-user@g.o mailing list