I need to have a script periodically rsync files from a remote host via ssh. The account which the script runs under does not have home directory on the remote host, so I'm not able to store my public key on the remote host. I'm happy to store my password in a file on my local host, but I can't seem to get rsync to use the password.
The --password-file option is only an option for connecting to an rsync daemon, and the password prompt does not read from stdin.