Rsync to another server without password

Run on the local server (192.168.1.101) – THE SERVER YOU ARE RSYNCING FROM. # ssh-keygen Enter passphrase (empty for no passphrase): Enter same passphrase again: Use ssh-copy-id, to copy the public key to the remote host. # ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.1.102 Now, ssh to the remote server you want to remote to. # ssh 192.168.1.101

rsync from one server to another

Basically, $ rsync options source destination Synchronize Files From Local to Remote (Plesk to cPanel) $ rsync -avz /var/www/vhosts/domain.com/httpdocs/ sshuser@192.168.200.99:/home/user/public_html/ Synchronize Files From Remote to Local )cPanel to Plesk) $ rsync -avz sshuser@198.50.162.99:/home/username/public_html/ /var/www/vhosts/domain.com/httpdocs/ Here is a short summary of the options available in rsync. Please refer to the detailed description below for a complete Read more about rsync from one server to another[…]