Menu

#36 find_binary confused by current directory contents

closed-fixed
None
5
2009-11-27
2009-10-19
Ian Marsh
No

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.

Discussion

  • Ian Marsh

    Ian Marsh - 2009-10-19

    Patch for find_binary

     
  • Duncan Ferguson

    Duncan Ferguson - 2009-11-27
    • assigned_to: nobody --> duncan_ferguson
    • status: open --> open-accepted
     
  • Duncan Ferguson

    Duncan Ferguson - 2009-11-27
    • status: open-accepted --> closed-fixed
     
  • Duncan Ferguson

    Duncan Ferguson - 2009-11-27

    Thanks - committed. Will be in 3.28

    Duncs