To have AWMS server 1 / root user SSH to AWMS server 2 without password.
1. First log in on 1 as user a and generate a pair of authentication keys. (Do not enter a passphrase:)
#ssh-keygen -t rsa
2. Now use ssh to create a directory ./root/.ssh on server 2
#ssh root@awms-server-2 mkdir -p /root/.ssh
(enter Password when prompted)
3. Append AWMS Server 1's new public key to AWMS-server-2@root:.ssh/authorized_keys and enter 2's password one last time:
#cat /root/.ssh/id_rsa.pub | ssh b@B 'cat >> /root/.ssh/authorized_keys'
4. From now on you can log into 2 as root from 1 as a without password:
#ssh root@AWMS-server-2 hostname
This command is going to create a public key with the empty pass phrase in one shot
#ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa