Here are some resources to help you get started with rsync and SSH basics –
rsync -avzhP <source path> <destination path>
rsync -avzhP <[email protected]:path/in/remote/system> <destination>
Generate new keys :
ssh-keygen -t rsa -b 4096 -C "[email protected]" -N ββ -f ~/.ssh/id_rsa
rsync -avP ~/.ssh/ /root/.ssh/