Gavin’s Odd Bits of Code

2010-03-30 (Tue)

csshx 0.64 released

Filed under: Uncategorized — Gavin Brock @ 10:57 pm
Tags:

I have finally cut a new csshX package – a lot of good stuff in this one:

New Features

  • Host and Subnet Ranges – see below
  • Ping test hosts before attempting to connect
  • Sort terminals by hostname
  • Zoom a single terminal to ‘full screen’ key binding
  • Added “enable next terminal” key binding
  • Added “send slaveid” (a guaranteed unique ID) to a terminal
  • Check for users odd shell settings in Terminal.app

Bug Fixes

  • Added the work-around for 10.6 64bit
  • Better window placement (less overlaps)
  • Use the system stty, not macports
  • Better handling of terminal color changes
  • Lots of doc typos and spelling fixes (and probably some new ones)

Get it here:

csshX-0.64.tgz

Hostname ranges

If you have a lot of similarly named hosts, or which to open all hosts in a subnet, hostname ranges will simplify things. Howerver this also allows to open crazy numbers of windows. To avoid this you can use the “ping_test” to make sure a host is up and ssh is working before opening a terminal window.
Subnets
You can specify subnets using two syntaxes:
192.168.1.0/28
192.168.1.0/255.255.255.240
This will also work with a hostname, assuming it resolves to a valid IP. If the IP address is not the network address, only that IP and IPs above that address will be used (e.g. 192.168.0.14/28 will only use 2 ip addresses).
Ranges
A range is declared in square brackets. Rules are separated by commas. Ranges use a minus-sign. Ranges can be numeric or alphabetic.
Some examples:
hostname[0-10]
192.168.0.[5-20]
host-[prod,dev][a-f]
192.168.[0,2-3].[1-2,3-5]
192.168.0.1:22[1-9]

csshX now on Twitter!

Follow brockgr on Twitter

Advertisements

Leave a Comment »

No comments yet.

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 )

Google+ photo

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

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: