Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd.  {{Code|Code = sudo nano /etc/xinetd.d/rsync}} It should contain the following lines of text.
service rsync
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. {{Code|Code = sudo nano /etc/rsyncd.conf}} The file should contain the following.
max connections = 2
5. Create /etc/rsyncd.secrets on Amahi box for user's password. {{Code|Code = sudo nano /etc/rsyncd.secrets}} User should be the same as above, with password the one used to log into/ SSH into the HP/Amahi box. Format is user:password, like below.
$ sudo nano /etc/rsyncd.secrets
kevin:theuserpassword
6. Then set the file permissions for rsyncd.secrets on the Amahi box.
$ {{Code|Code = sudo chmod 600 /etc/rsyncd.secrets}}
7. Start/Restart xinetd
$ {{Code|Code = sudo /etc/init.d/xinetd restart}}
not sure if this was needed, but what the heck.