syncing data across machines automatically

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Apr 11 21:23:43 UTC 2008


On Fri, Apr 11, 2008 at 04:16:05PM -0400, Giles Orr wrote:
> I remember now that I used to use NFS and sync several machines to a
> central server, but that was over a small personal network and
> probably isn't a good idea on a public network (he's on a campus).
> 
> Lennart suggested rsync-over-ssh, and Anthony suggested
> unison-over-ssh ... these are the two ideas I suggested to my friend.
> It seems I'm mis-characterizing the problem (or not explaining where
> my understanding is breaking down): I lock up when we get to the "cron
> job" part of this.  How do you automate a job like this over ssh?
> Three servers, does he have to sit down, login, enter an ssh
> passphrase, and log back out every time a machine is (re)booted?  I
> think this is what's causing me issues.  Or do you use an ssh key
> without a passphrase?  Can that be done safely?
> 
> Sorry I didn't explain the issue more clearly.  At least it seems I
> was on to the right tools.

Using ssh with a no passphrase is what I do.  I can't think of any other
way to automate the connection.  No passphrase on the dsa key that is.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list