[CentOS] Rsync/SSH automation problem?

Wed Apr 29 10:40:10 UTC 2009
Anthony Kamau <akcentos at anroet.com>

> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of James Bensley
> Sent: Wednesday, 29 April 2009 6:54 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Rsync/SSH automation problem?
>
> hi Kai,
>
> > You can't.
>
> Thats what I thought, I have been looking into using certificates and
> passphrases and that will have to be it!
>

Interesting - why not do a pull from the CentOS box?  This would only
work if the machines are local to each other!

I mount Windows Server 2003 as follows:

mount //[servername]/C$ /winmnts/[servername]/cdrive \
  -o credentials=/root/sysaccess

/root/sysaccess - contains just two lines:
	username=[administrative account]
	password=[administrative account password]

Also, you'll need to have created the path
"/winmnts/[servername]/cdrive" beforehand (as if you hadn't guessed that
already)!

>From here, I run the rsync command without the need for the -e option.

Of course, if the servers are in geographically different locations,
then Kai's link is the way to go!


Cheers,
Tkb.