SSH passwordless between servers

1. on both servers execute:
ssh-keygen -t rsa
ssh-keygen -t dsa
cd /home/oracle/.ssh
cp authorized_keys authorized_keys.`date -Ins`
cat id_rsa.pub >> authorized_keys; cat id_dsa.pub >> authorized_keys
chmod 600 authorized_keys

2. then copy and combine both authorized_keys on both servers to be the same

Leave a Reply