Hi,

As the subject suggests, I'm trying to do automated password login for
rsync over ssh.

Firstly, I have to say that I "cannot" use the public/private keys
method for the reason I have no control over the server I'm trying to
connect to. So it must be password authentication.

Secondly (now I'm probably going to get beaten up over this), I'm
trying to automate this process on a Win XP Pro machine.

I've written a Windows app that will backup data from a desktop to a
server and with the Windows app, I create the batch file on the fly
with the required information.

I have this working very well, but as the batch file needs to run as a
scheduled task in the evening, ssh will ask for a password. It's this
part I don't know how to automate.

Here is an example the command line in the batch file:

rsync -vv -aruz --progress --stats --log-format=%n%L
"/cygdrive/c/directory" -e ssh username@host_address:/home/username

I realise I can do this within cygwin and creating an expect script
(or something similar), but the windows app is going to be used by
about 20 people in the department and I don't want to install cygwin
on everyones PC's.

Can anyone help me with this?

Thanks in advance,
Robbie...