Synchronize Files over SSH

You would like to synchronize files over SSH without password. You could generate the SSH keypair and use “rsync” to make your backup on the network.

1. Generate the SSH keys

 # ssh-keygen -t rsa

2. Upload the SSH pub key to the remote server

 # scp ~/.ssh/ htpc@

3. Synchronize your files over SSH

# rsync -avzhe ssh --delete /home/ses htpc@

4. Schedule your backup with crontab

00 21 * * * /root/