find_binary confused by current directory contents
Cluster administration tool
Brought to you by:
duncan_ferguson
Tried to use cluster ssh (v220) this morning, and was faced with:
Terminal binary not found (ssh) - please amend $PATH or the cssh config file
Died at /usr/bin/cssh line 286.
Downloaded and tried latest version (v3.27) and got this:
Terminal binary not found (ssh) - please amend $PATH or the cssh config file
Died at ./cssh.pl line 337.
After some investigation, I discovered that having a directory called 'ssh' in your current directory causes cssh to not find the ssh binary. Having the full path in your config fixes this, but it doesn't seem correct behaviour.
The problem is in find_binary, and I have attached a patch that fixes the issue, should you want to use it.
Patch for find_binary
Thanks - committed. Will be in 3.28
Duncs