Wednesday, March 21, 2012

Cluster SSH tool

Nifty little tool I came across, will allow you to administer multiple machines from one console.... check it out at http://code.google.com/p/csshx/

This was done on my virtual Mac on a VMware workstation on which I also installed Cisco AnyConnect client which connected to the Cisco ASA5540 Firewall, behind which these VM's sit.


To make a long story short, just copy the perl script to /usr/bin or anywhere in your path, 
and then execute as such:

# csshx -l username 10.10.10.5 10.10.10.6 10.10.10.7 10.10.10.8

in the case above, it will pass an ssh username of "username" and open up 4 terminals, as in the picture above.

You input your command in the red area underneath the terminals, and it will duplicate to all the other terminals.  watch out for mistakes!

No comments:

Post a Comment