Q: Rsync, Batch: How to avoid the "password" ask ?
wayned at samba.org
Fri Jun 25 17:04:11 GMT 2004
On Fri, Jun 25, 2004 at 04:58:12PM +0200, bzels123 wrote:
> My problem is that even with this parameter SET RSYNC_PASSWORD=xxxx
> It still ask me for a password, blocking of course all the process
You don't mention what command you're running, so I'll assume that the
problem is that you're not trying to make a daemon connection (which is
the only thing that the RSYNC_PASSWORD affects) but instead being
prompted by ssh to enter your password. If so, read the ssh docs (e.g.
ssh-keygen) and get a solo ssh command to work without a password
prompt, then rsync will work without a prompt.
More information about the rsync