in reply to What is the path used by open2

Hi jayakumark,

I ran your program myself, but didn't get any such error.

What happens if you specify the full pathname of ssh ... /usr/local/bin/ssh?


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

Replies are listed 'Best First'.
Re^2: What is the path used by open2
by Anonymous Monk on Jul 26, 2006 at 16:38 UTC
    Thanks it is working..it was due to the reason that the script which i gave was running from another machine through remsh like "remsh machine2 -l admin /tmp/ssh.pl" so it was not able to find path environment variable. i just made it as "remsh machine2 -l admin /tmp/.env; /tmp/ssh.pl" it worked. thank you again
Re^2: What is the path used by open2
by Anonymous Monk on Jul 26, 2006 at 15:40 UTC
    I will try that and get back to u. Thanks for the quick reply