There's a tool called cssh for linux that has simular use to what I'd like to have on Windows. Basically I'm logging into servers that are identical to each other and I'd like to be able to type the same thing in both windows at the same time to look at logs, do various greps, etc.
PuTTY Command Sender is what you're looking for.
You could always install clusterssh via CygWin (a UNIX compatible shell for Windows)... (you can google for more information about the two)...
I know this is an old question, but I found it because I've been using Putty Command Sender for about five years and always thought it was pretty terrible. I didn't use it enough to go looking for alternatives until now. Just came across puttyCluster -- https://github.com/mingbowan/puttyCluster -- and holy sht, it's unreal I've been wasting time with stupid Putty CS and it's inability to use maximized+"docked" windows.
Also found these alternatives, but haven't tried them: cputty clustershish (I don't have the rep to post more links, but just google them).
I have recently figure out a way to do this easily. I used an excel sheet to build cmd commands including putty ssh log-in then copy past the columns in a cmd window. it works like magic even if you have to customize the command for each server.
if you want to run the exact command list on every machine then you save it to a file and use another sheet to generate the command-line batch.
you will need to create a folder named temp inside putty main folder and you might need to customize putty logging to save a file per ip or pear session. this is my first post here so I cant upload images.
In addition to using clusterssh or mtputty, a simpile bash script can login to a list of remote servers using ssh, copy a file to each using scp and execute a script on each of the servers. I'm a bash scripting novice so likely not the most efficient or best option but seems to be pretty easy to manage. I've found it easier than both clusterssh and mtputty. Save this code into a file named copyFileToServers.sh, create a serverlist file that has a list of ips or server names and execute by typeing
./copyFileToServers.sh
.You'll need cygwin on windows (which is the only place i've tested this). You will have to install sshpass (i know people really hate this package but i was too lazy to get ssh keys going on all the servers) separately which can be downloaded from sourceforge.
One thing to note, you'll have to login using
ssh user@remomte_server
from the command line of your admin machine for each server you want to manage. sshpass doesnt work until you have manually acknowledged adding the ssh key for the remote servers. You only need to do this once.(note: I wasn't able to get clusterssh running on windows cygwin as of july 2014 so i couldn't really speak to how good/bad the program is at accomplishing what OP asked for.)
If you are using Windows the easiest solution is MobaXterm multi-execution mode (aka MultiExec mode):
Via: https://mobaxterm.mobatek.net/documentation.html