|
Adding ssh commands to a shell script
I have written some scripts that do a few admin tasks on 23 servers I manage.
Usually I execute these scripts from one server by running ssh commands remotley, i.e.
ssh root@server2 shellscript, ssh root@server2 shellscript & so on..
It works fine but I want to improve this by writing a script on my main server to run all the scripts on the other 23 servers.
Opinions on whether this is a good idea or not would be great & advice on how to implement it effectively would be great.
|