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.
In reply to Re^3: EMC VNX SCRIPT
by thanos1983
in thread EMC VNX SCRIPT
by atulperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |