I have finally cut a new csshX package – a lot of good stuff in this one:
- 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
- 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:
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.
You can specify subnets using two syntaxes:
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).
A range is declared in square brackets. Rules are separated by commas. Ranges use a minus-sign. Ranges can be numeric or alphabetic.