Rsync Server

type access

  • Operating System:

  • Terminal:

  • Shell:

  • Editor:

  • Package Manager:

  • Programming Language:

  • Utility:

  • Extension:

type access

  • Operating System:

  • Shell:

  • Editor:

  • Package Manager:

  • Programming Language:

This application is used to deploy an rsync server, which is a utility to efficiently transfer and synchronize files and directories between two different systems.

For more information about rsync, check the official man page.

Rsync settings

By default, the rsync daemon settings are specified in /etc/rsyncd.conf. A new configuration file can be uploaded using the corresponding optional parameter.

Synchronize local data

Rsync is configured by default to use a remote-shell transport layer protocol, such as SSH or RSH. The user must upload an SSH public key, which will be used to encrypt and secure transfer data from a remote host. For more information check here.

Once the application is launched, a new panel will appear in the job progress view showing the SSH login command and the port for SSH client connections. The SSH port value is randomly generated.

To connect to the rsync server from a remote host and transfer data, one can use the command:

user@remote_host:~$ rsync -avP -e "ssh -i ~/.ssh/id_rsa -p <port>" ./data/ ucloud@ssh.cloud.sdu.dk:/work/data

where ./data is the path to the data folder and ~/.ssh/id_rsa the path to the matched SSH private key on the remote host. The SSH port (<port>) must be replaced with the value reported in the SSH access panel.

Note

The default user on the remote server must be ucloud. The data must be sync to a folder within the default working path /work.