in reply to Re^2: EMC VNX SCRIPT
in thread EMC VNX SCRIPT

Hello again atulperl,

Unfortunately I can not replicate your problem. Can you give it a try on the sample of code Update3 I think this is the best approach of using Net::SSH2::Channel::read2 method, capable of capturing STDOUT and STDERR.

If this fails can you provide the output what is the error code that is failing?

P.S. why specifically this module Net::SSH2 and not any other SSH module available e.g Net::OpenSSH?

Hope this helps, BR.

Seeking for Perl wisdom...on the process of learning...not there...yet!