Problems? Is your data what you think it is? | |
PerlMonks |
Re^5: Net::SSH2::Cisco and Nexus switchesby VinsWorldcom (Prior) |
on Aug 16, 2018 at 14:54 UTC ( [id://1220445]=note: print w/replies, xml ) | Need Help?? |
Try enabling the dump_log which shows the hex characters. It could be how and where newlines are sent. They could be \r\n, \r, \n and you'll see this as hex 13 and 10 in the dump_log. Sometimes the prompt starts with a newline so you'll need to make sure the correct character is matched at the beginning. I'll admit I've had frustrations with this as well using Net::Telnet::Cisco way back when connecting to IOS-XR switches.
In Section
Seekers of Perl Wisdom
|
|