You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this project to connect from a linux host to a old cisco switch. The gateway is running locally on the linux host under systemd.
The output from the cisco lacks carriage returns on new lines. I only get line feeds. You can't really see in the block below here how the beginning of a line is exactly below the end of the previous line.
Ordinary telnet from the same linux box works ok.
Because of this ansible does not see the privilege escalation prompt.
sw-c01>show version
Cisco IOS Software, CBS30X0 Software (CBS30X0-IPBASE-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Sat 19-Aug-17 10:03 by prod_rel_team
The text was updated successfully, but these errors were encountered:
My guess is that something is happening in lines 153-162 of ssh_to_telnet_proxy.py
You can first start by running script with -l debug to see which lines you receive from the switch and which lines you forward to Ansible via SSH. If the issue is there, you can start by doing something very simple like just commenting out lines 158-160, or commenting out all lines 154-161 and changing line 162 to self.chan.send(line)
You can also paste debug here and I can attempt to figure out what's going on there, but it's somewhat hard without having hardware at hand.
I am using this project to connect from a linux host to a old cisco switch. The gateway is running locally on the linux host under systemd.
The output from the cisco lacks carriage returns on new lines. I only get line feeds. You can't really see in the block below here how the beginning of a line is exactly below the end of the previous line.
Ordinary telnet from the same linux box works ok.
Because of this ansible does not see the privilege escalation prompt.
The text was updated successfully, but these errors were encountered: