Hi I'm looking for a piece of software or some sort of technique that would enable me to do following in one terminal window:
Take as input a list of ssh-enabled machines with login, password and script path information, something like this:
login:[email protected]/path/to/script/run.sh
login:[email protected]/path/to/script/run.sh
Open ssh connections to these machines and run the specified scripts remotely.
- Output from all the scripts should be piped to my local window.
- When I send a signal like Ctrl-C, I want to kill the remote scripts and then the connection. A massive plus would be if my machine goes down, the remote scripts are killed also.
A plus would be if I could use this in Cygwin terminal since that's what I use, but I'm open to anything that would get this done.