hi
I'd like to synchronize 2 freeBSD machines using rsync.
One machine is a server with rsync daemon and the second one is the client.
On the server I've created /etc/rsyncd.conf and rsyncd.secrets.
Howto use rsync with --password-file option at SSH command prompt on the client to avoid password question?
BTW Is it possible to do that without SSH public/private key exchange?
If I try from the clinet:
I'd like to synchronize 2 freeBSD machines using rsync.
One machine is a server with rsync daemon and the second one is the client.
On the server I've created /etc/rsyncd.conf and rsyncd.secrets.
Howto use rsync with --password-file option at SSH command prompt on the client to avoid password question?
BTW Is it possible to do that without SSH public/private key exchange?
If I try from the clinet:
Code:
# rsync --password-file=/usr/local/etc/rsyncd.secrets /var/new/ root@192.168.1.10:/var/backup
The --password-file option may only be used when accessing an rsync daemon.
rsync error: syntax or usage error (code 1) at main.c(1239) [sender=3.0.4]