Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Net::SSH2::Cisco and Nexus switches

by VinsWorldcom (Prior)
on Aug 16, 2018 at 14:54 UTC ( #1220445=note: print w/replies, xml ) Need Help??


in reply to Re^4: Net::SSH2::Cisco and Nexus switches
in thread Net::SSH2::Cisco and Nexus switches

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.

  • Comment on Re^5: Net::SSH2::Cisco and Nexus switches

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1220445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2020-06-07 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (42 votes). Check out past polls.

    Notices?