You'll notice in Net::SSH2::Cisco login(), that the shell() method is used, not exec(). This is so multiple commands can be issue in an interactive fashion.
Try your above Net::SSH2 script with shell() instead of exec() and see if it still works. That will help narrow down / eliminate anther possibility.
In reply to Re^5: Net::SSH2::Cisco not working on Cisco XR
by VinsWorldcom
in thread Net::SSH2::Cisco not working on Cisco XR
by Xane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |