I need to write a bash script to login via SSH to multiple remote servers I have so the script stores servers information and the name of each server I have and when I want to access to any server just run the script and give him the name of server, I need to to use my access key of my pc so I don't have to enter password each time I want to log in also I need it to have the option to store a new server
my pc is macOS so I have a terminal supports bash script and the remote servers all of them Linux CentOS
hi
I am reading your project can you explain little more about it ...........................................................................................
Hi,
You need key based authentication (password-less) between servers to do this. Since MAC supports bash, it is easy to run the script from MAC.
You can refer my profile and if interested please ping me.
Thank You