In this tutorial we will be using Rsync to synchronize a directory from Linux ServerA to Linux ServerB over SSH using two CentOS servers.
To begin we recommend you setup SSH keys between the two servers. To do this you can follow our below tutorials though is not required :
How to Set Up SSH Keys with Linux Commandline
How to add your SSH public key to CentOS
First lets make sure RSYNC is installed.
yum install rsync
By jason, March 17, 2015