Enter file in which to save the key (/root/.ssh/id_rsa): # ssh-keygen Generating public/private rsa key pair. Restart sshd to take effect: service sshd restart Now generate keys on both server: (just press enter and do not enter a passphrase) # ssh-keygen Generating public/private rsa key pair.
Nano /etc/ssh/sshd_config To activate root login, modify the below line to yes. Setup ssh keys for password less log-in Edit /etc/ssh/sshd_config file on both server. It’s also easier to setup since no scripting necessary. This means files changed on server1 will be replicated to server2 and vice versa. Centos 7 Download Centos 7 Installation Guide The main difference is that unison tracks changes on both directions so you don’t to have two separate rsync to pull and push data on both folders. Unison is a file-synchronization tool similar to rsync. How to crack and install tomtom maps free. If you get one or more User Account Control messages, click Yes.