in reply to Problem while using Net::SSH::Perl module

bsub: Command not found.

Maybe try absolute path to bsub command...