Shell script for connecting multiple servers and then copying 30 days old files from those server .
HI ,
I have 6 multiple servers
pla1,pla2,pla3,pla4,pla5,pla6
- These six servers have common shared mount point /var/share
- Running script from /var/share to connect these servers.I need to use keys for access to servers.
3.Copy files from servers 30 days old > zip them and tar
Main challenge I am getting here is how to connect multiple servers in shell script using public private keys.