- Make a /etc/rsyncd.conf file
- This is what mine looks like
max connections = 20
log file = /var/log/rsync.log
timeout = 300
[stuff]
comment = Stuff
path = /mnt/stuff
read only = yes
list = yes
uid = nobody
gid = nogroup
# auth users = craig
# secrets file = /etc/rsyncd.secrets
hosts allow = 192.168.0.0/24
- As you can see i have the authentication commented out, if you turn it on you will need to make a
- /etc/rsyncd.secrets file
- Mine looks like this (even though its turned off)
robert:robertspass
craig:craigspass
- Once we have these two files we can connect fom a client