I'm wondering what are the steps to configure password-less ssh keys so I can connect and pull data from multiple remote servers. Can I just do:
Backup Machine:
ssh-keygen -t rsa
ssh-copy-id -i /home/user/.ssh/id_rsa.pub root@server1
ssh-copy-id -i /home/user/.ssh/id_rsa.pub root@server2
ssh-copy-id -i /home/user/.ssh/id_rsa.pub root@server3
and on each remote server{1-3} do:
PermitRootLogin forced-commands-only
and let rsync
pull the data from the backup server to each remote.
Would those be the correct steps?
Thanks