I first tried the key/public_key, no luck, so now I am doing simpler transfer.
1. I setup the rsyncd.conf according to instructions
2. created identical users on each machine (server and client).
3. still it asked me for password, (supposed to be in a secret file) and gave me bunch of errors (ok, I changed the owner of the secret file, now only one error left)
here is the /usr/local/etc/rsyncd.conf file (I set them up identical on both client and server):
on the client machine,
>
works fine, so no password problem.
why it says "auth failed on module dronebackup"?
both machines are using freebsd 8.0-p2, rsync installed through ports today.
permission/ownership of /usr/local/etc/rsyncd related files:
1. I setup the rsyncd.conf according to instructions
2. created identical users on each machine (server and client).
3. still it asked me for password, (supposed to be in a secret file) and gave me bunch of errors (ok, I changed the owner of the secret file, now only one error left)
Code:
> rsync -avz rsyncbee@drone::dronebackup /usr/home/rsyncbee
Password:
@ERROR: auth failed on module dronebackup
rsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]
here is the /usr/local/etc/rsyncd.conf file (I set them up identical on both client and server):
Code:
pid file = /var/run/rsyncd.pid
uid = rsync
gid = rsync
use chroot = no
max connections = 4
syslog facility = syslog
log file =/var/log/rsycd.log
auth users =rsyncbee
secrets file = /usr/local/etc/rsyncd.secrets
[dronebackup]
path = /usr/home/rsyncbee
comment = backup of drone www and mysql
on the client machine,
Code:
ssh rsyncbee@drone
Password:
works fine, so no password problem.
why it says "auth failed on module dronebackup"?
both machines are using freebsd 8.0-p2, rsync installed through ports today.
permission/ownership of /usr/local/etc/rsyncd related files:
Code:
-rw-r----- 1 rsyncbee rsyncbee 914 Apr 20 19:02 rsyncd.conf
-rw-r----- 1 rsyncbee rsyncbee 21 Apr 21 16:55 rsyncd.secrets