passing rsyncd password in a script (no ssh) - how?
Tomasz Chmielewski
mangoo at wpkg.org
Wed Jan 10 11:48:22 GMT 2007
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
before starting rsyncd. And to forget about "expect" command :)
--
Tomasz Chmielewski
http://wpkg.org
More information about the rsync
mailing list