Re: tar backup/ssh problem
From: Per Hedeland (per_at_hedeland.org)
Date: Thu, 10 Jun 2004 23:11:50 +0000 (UTC)
In article <8Y2dnYO0RNYxA1vdRVnemail@example.com> "Nico Kadel-Garcia"
>Job Eisses wrote:
>> Gregory Cain wrote:
>>> tar -cvzf server2:/dev/st0 /shares
>> I wonder if this syntax does use SSH at all; what if you try
>> tar -cvzf - /shares | ssh server2 dd of=/dev/st0
>The first tar syntax uses "rmt", not SSH. It's superior for tape management
>in a number of ways, but of course doesn't provide the secure access and
>data protection of an SSH connection. I think the original poster needs to
>reconfigure his new firewall.
Though "rmt" is not a network protocol but a program, that tar typically
talks to via rexec(3) or rcmd(3) (shudder:-) - so ``"rmt", not SSH''
doesn't really make sense. And of course gnu tar has:
TAR_RSH The TAR_RSH environment variable allows you to override
the default shell used as the transport for tar.
Wether the OP ever had it set to "ssh", and doesn't anymore, is anyone's
guess, of course - but it certainly works.