Re: Rsync/SSH automation problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
> Behalf Of James Bensley
> Sent: Wednesday, 29 April 2009 6:54 PM
> To: CentOS mailing list
> Subject: Re:  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.




_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux