in reply to Re^4: Problem while using Net::SSH::Perl module
in thread Problem while using Net::SSH::Perl module

LD_LIBRARY_PATH: Undefined variable. LD_LIBRARY_PATH: Undefined variable. lsb_init: Failed in an LSF library call: Unable to open file lsf.conf. Job not s +ubmitted.

Well, it seems that Net::SSH::Perl is actually working!

The problem now probably lays inside the script and commands you are running at the remote side. Try adding set echo at the beginning of the SHELL block to see what is going on.