Gavin’s Odd Bits of Code

2011-09-12 (Mon)

csshX 0.74

Filed under: MacOS X,Software — Gavin Brock @ 8:02 pm
Tags:

Can’t believe it has been nearly a year without a release. This one is mostly bug fixes

–> Download:csshX 0.74 <–

Bug fixes:

  • The “extra_cluster_file” config option now works (great for sharing clusters on DropBox)
  • The –spaces option now ignored on 10.7 since mission control doesn’t have space id’s. You can still use bounds mode to drag to another space.
  • Slaves will move to the same space as the master on retile.
  • Workaround for 10.6 Scripting-Bridge boolean bug is no longer used in 10.7
  • Spaces hacks working reliably on 64bit
  • More spelling fixes

New Features:

  • Connect to one host “n” times with the “hostname+n” hostnames
  • Not really a user feature, but the source code is now under git.

Updates to wiki and macports will come soon..

Advertisement

7 Comments »

  1. Gavin, csshX is great. I now smile when managing my little 10-node cluster.
    Thanks for that!
    -js

    Comment by JS Theriault — 2011-09-13 (Tue) @ 12:44 am | Reply

  2. Great stuff…I have a bunch of switches clustered into pairs with nearly-identical configurations on both. This makes it a breeze to keep things in sync and compare output from the whole cluster at once. Thanks!

    Comment by Jason B. — 2011-09-16 (Fri) @ 6:55 am | Reply

  3. Hi Gavin, I am hoping you can help. When launching csshX, it does open up a new terminal window but nothing much else happens. I get the following:

    history -d $(($HISTCMD-1)) && clear && exec ‘/usr/local/bin/csshX’ ‘–master’ ‘–sock’ ‘/var/tmp/tmp.0.tc39XV’ ‘–launchpid’ ’23412′ ‘–screen’ ’0′ ‘–debug’ ’0′ ‘–tile_y’ ’0′ ‘–tile_x’ ’0′ ‘–login’ ‘root’
    fc: event not found: -d

    and in the parent window, the following shows up:

    No master at /usr/local/bin/csshX line 1179.

    Any quick tip / help would be greatly appreciated. Thanks again for such an amazing tool. I’ve seen it work elsewhere.

    Comment by Jean Paul — 2011-09-28 (Wed) @ 11:25 pm | Reply

    • Looks like it might be a shell related issue since it doesn’t seem to understand “history -d”. Could you open a ticket at http://code.google.com/p/csshx/issues/list with a few more details, such as the csshX version, the shell you are using and anything else that might be relavent.

      Comment by Gavin Brock — 2011-09-29 (Thu) @ 7:48 am | Reply

  4. Hi. I’ve just started using csshX and I want to thank you for such a simple and wonderful script. I’ve just got one question.

    In order to log in to several clusters I maintain, I must first ssh into a box where I can then ssh into each node within the cluster. How would I set this up within csshX? Is it possible?

    Thanks again. Looking forward to showing people this application!

    – Matt

    Comment by Matt — 2011-11-28 (Mon) @ 6:21 am | Reply

    • Glad it’s working out for you Matt.

      Tunneling through an ssh gateway is actually more of an ssh trick than a csshX one. The way I do it is with the following lines in my .ssh/config:

      Host far-away-server-??
      ProxyCommand ssh gwuser@gateway-host exec nc %h %p

      (Note the ProxyCommand should really be indented – wordpress ate my whitespace :-( )

      This is assuming your gateway machine is “gateway-host” and the remote servers are called something like “far-away-server-01″, etc. The “Host” line is actually very flexible, it can handle multiple host names or patterns.

      This all assumes you have the “nc” command available – which most OS-X’s have.

      I’ll add this to the csshX FAQ some time.

      Comment by Gavin Brock — 2011-11-28 (Mon) @ 8:17 am | Reply

  5. Hi Gavin,

    Thanks for an awesome piece of software. I don’t know what I would do without it.

    Comment by themorus — 2012-02-23 (Thu) @ 1:10 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.