On Wed, 10 Jan 2007, Tomasz Chmielewski wrote: > Date: Wed, 10 Jan 2007 12:48:22 +0100 > From: Tomasz Chmielewski <[EMAIL PROTECTED]> > Cc: rsync@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 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html