Re: non-interactive ftp
On Sun, Nov 27, 2005 at 10:47:06PM -0500, Chris Wagner wrote:
> At 10:47 AM 11/28/2005 +1100, Craig Sanders wrote:
> >to use ssh rather than ftp:
> >
> >tar cvf - /home | ssh operator@server "cat >/backups/home_$weekday.tar"
>
> An even better version of this is the scp utility. Secure remote copy.
a different tool for a different job. scp can copy existing files. ssh
is useful for (amongst many other things) piping stdout from a process
on one machine to stdin of a process on a remote machine. and doing so
with secure authentication and encryption.
craig
--
craig sanders <cas@taz.net.au> (part time cyborg)
Reply to: