One of the all time great sysadmin tools is Cluster SSH. It allows you to open up ssh sessions on multiple machines and send commands to them all through a common master window. It’s a perl script that uses xTerms and Tk.
My problem was that OS-X has a bit half-hearted X11 support and I always wanted a version that used Terminal.app. Finally after messing with some Applescript the other day, I realised it is possible to do.
So I have created csshX – my OS-X homage to cssh.
csshX is pure Perl (with calls to AppleScript) and should run on any 10.4 or 10.5 machine.
One known issue is that if you change focus, while csshX is opening many windows, it may capture the wrong terminal window. This is because there seems to be no good way to capture a handle to a Terminal window while you are opening it (I have to grab a handle to the front-most window after it has opened).
Let me know if you find csshX usefull, or you have any good ideas about how I could improve it.