how can I use rsync between 2 accounts?

ying lcs yinglcs at
Sun Mar 18 22:47:29 GMT 2007

On 3/18/07, Louis-David Mitterrand <vindex+lists-rsync at> wrote:
> On Sun, Mar 18, 2007 at 02:11:21PM -0500, ying lcs wrote:
> >
> > I have 2 linux accounts on different machines (same login, same password).
> > Can you please tell me how  I use rsync directories between 2 accounts?
> ssh host1 "rsync <options> /my/dir host2:/my/dir"

Thanks. If I need to put the above in a script and kick off a cron job,
how can I specified the ssh user name and password without user enters it?

And what is host1, host2 (which one is src  and which one is destination?

> --
> To unsubscribe or change options:
> Before posting, read:

More information about the rsync mailing list