Enable passwordless rsync/ssh
Scenario: Server:1 192.168.1.211 Server:1 192.168.1.222 Objective: Enable passwordless rsync from server1 to server2 Steps: 1. Enable root login 2. set root password 3. check current ssh status ssh -p 22 root@192.168.1.222 4. create your SSH key pair ssh-keygen -t rsa -b 4096 5. locate keys ls -ll /root/.ssh -rw------- 1 root root 3243 Jul 31 13:58 id_rsa -rw-r--r-- 1 root root 737 Jul 31 13:58 id_rsa.pub 6. ssh-copy-id root@192.168.1.222 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub" /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys root@192.168.1.222's password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'root@192.168.1.222'" and check to make sure that only the key(s) you wanted were added. 7. Job is don...