I am setting up a cluster of KVM virtual machines and want to be able to ssh to them as the root user on the vm without having to enter a password.
The first thing that I did was create keys on the box from which I was going to make connections (A):
[rchapin@A .ssh]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/usr/local2/home/rchapin/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again: → Continue reading “Setting Up Passwordless SSH Under CentOS 6 Running Selinux”