now I get this error:
rsync -ave ssh /home/juanb
juab@192.168.1.10:/home/juanb/music1.tar
juab@192.168.1.10's password:
Permission denied, please try again
the content of the files related to rsync are:
/etc/rsyncd.secrets :
juanb

assword
/etc/rsyncd.conf :
modulename]
#### rsyncd.conf file ####
uid = juanb
gid = 502
pid file = /etc/rsyncd.pid
syslog facility = daemon
[modulename] #Module name could be any name
path = /home/juanb
comment = user related any info
auth users = anonymous username
hosts allow = 192.168.1.0/24
secrets file =/etc/rsyncd.secrets
max connection = 50
use chroot = true
timeout = 60
#### End of configuration file ####
/etc/rsyncd.pid is empty.
when I ssh to the machine it is the same password as in rsync.secrets and I can log in. I dont know if it metters.
Thanks !