Rsync and SSH basics

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>

SSH Basics

Generate new keys :

  • ssh-keygen -t rsa -b 4096 -C "[email protected]" -N “” -f ~/.ssh/id_rsa
  • rsync -avP ~/.ssh/ /root/.ssh/