Shell script for connecting multiple servers and then copying 30 days old files

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

  1. These six servers have common shared mount point /var/share
  2. 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.

Start on one server, connect with ssh, and make a script that finds the old files and produces a suitable output file.