passing rsyncd password in a script (no ssh) - how?

Wojtek.Pilorz wpilorz at bdk.pl
Wed Jan 10 12:56:42 GMT 2007


On Wed, 10 Jan 2007, Tomasz Chmielewski wrote:

> Date: Wed, 10 Jan 2007 12:48:22 +0100
> From: Tomasz Chmielewski <mangoo at wpkg.org>
> Cc: rsync at lists.samba.org
> Subject: Re: passing rsyncd password in a script (no ssh) - how?
> 
> Tomasz Chmielewski wrote:
> > I want to transfer files from a Windows server running rsyncd to a local 
> > Linux machine. It has no SSH, so I can't use keys.
> 
> (...)
> 
> > What is the recommended way to copy files from a (password-protected) 
> > rsyncd server in a script?
> 
> Looks like I should use:
> 
> export RSYNC_PASSWORD=secret_pass

secret_pass would no longer be secret on most systems;
Consider using --password-file instead.


> 
> before starting rsyncd. And to forget about "expect" command :)
> 
> 

Wojtek



More information about the rsync mailing list