That would suggest that your PATH is lacking. Try "which ssh" from a command line to sort out where it actually is. Setting PATH explicitly as you do is something you have to do in taint mode; you just need to make sure you put everything in or invoke it with a full path.
In reply to Re^3: Using SSH and SCP in a perl script with taint flag
by herveus
in thread Using SSH and SCP in a perl script with taint flag
by stefl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |