Start a basic RSYNC Server (Ubuntu)

  • 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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s