csshx
csshx copied to clipboard
Windows for hosts specified with numeric interval within a hosts file fail to open
What steps will reproduce the problem?
1.Create hosts file, hosts.txt, containing something like a-b-c[7-12].x.y.com
2.Run csshX --hosts hosts.txt
What is the expected output? What do you see instead?
Open terminal sessions are expected, but other than the master window, only one
window with the title a-b-c[7-12].x.y.com is seen. In that window is seen:
ssh_exchange_identification: Connection closed by remote host
CHILD at /usr/local/bin/csshX line 1256. (The windows for the individual hosts
appear for a brief instant, but spontaneously close.)
[Process completed]
What version of csshX (do a "csshX -v") are you using? On what operating
system version (do a "sw_vers")?
$ csshX -v
csshX 0.74
$ sw_vers -productVersion
10.8.5
Please provide any additional information below.
Specifying the hosts using the interval notation on the command line works
fine, e.g.
$ csshX a-b-c[7-12].x.y.com
csshX is great, and this issue isn't a showstopper.
Original issue reported on code.google.com by [email protected] on 30 Aug 2014 at 1:22
By the way, the a-b-c and the x.y were complete fabrications on my part, just
using those letters as examples. The real hostnames followed a template like
dev-application-purpose[7-12].location.company.com. I'm thinking that the
hyphens outside of the closed brackets are confusing csshX. I tried escaping
those hyphens, and tried putting the entire "hostname" but got the same results.
Original comment by [email protected] on 31 Aug 2014 at 12:25