passing ssh password to rsync without prompting it

Wayne Davison wayned at samba.org
Thu Dec 2 07:40:02 GMT 2004


On Wed, Dec 01, 2004 at 11:02:15PM -0800, jack alex wrote:
> So, why it is not picking password from password file and any other
> idea to pass ssh password to rsync without prompting it. 

This is because the option only affects rsync's use of an rsync daemon.
Rsync has no options that affect ssh's password prompting.  You should
get ssh working as needed without rsync being involved (perhaps running
a simple command such as "uptime") and then use that technique with
rsync.  However, if you've ruled out ssh keys, your only other choice
may be some kind of host-based authentication.  See the ssh docs for
details.

..wayne..


More information about the rsync mailing list