Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyez telnet not working as expected in certain JUNOS enhanced devices #1112

Closed
asishbasu opened this issue May 10, 2021 · 0 comments · Fixed by #1121
Closed

Pyez telnet not working as expected in certain JUNOS enhanced devices #1112

asishbasu opened this issue May 10, 2021 · 0 comments · Fixed by #1121

Comments

@asishbasu
Copy link

Pyez telnet not working as expected in certain JUNOS enhanced devices. We are seeing login prompt 2 times.

#################### 0 ####################
INFO:jnpr.junos.tty:TTY: connecting to TTY:x.x.x.x ...
DEBUG:jnpr.junos.tty_telnet:Write:

INFO:jnpr.junos.tty:TTY: logging in......
DEBUG:jnpr.junos.tty_telnet:Got: b'\r\nLinux 4.8.28-WR2.2.1_standard-gf600f29 (re0) (pts/4)\r\n\r\ns0r_RE0 login: \r\n\r\nPassword: '
DEBUG:jnpr.junos.tty_telnet:Write: xxxx
DEBUG:jnpr.junos.tty_telnet:Got: b'\r\n\r\nLogin incorrect\r\ns0r_RE0 login: '
DEBUG:jnpr.junos.tty_telnet:Write: xxxx
DEBUG:jnpr.junos.tty_telnet:Got: b'Password: '
DEBUG:jnpr.junos.tty_telnet:Write: xxxx
DEBUG:jnpr.junos.tty_telnet:Got: b'\r\nLast login: Mon May 10 08:48:01 PDT 2021 from xyz.net on pts/4\r\n--- JUNOS 21.3-202105042357.0-EVO Linux (none) 4.8.28-WR2.2.1_standard-gf600f29 #'
INFO:jnpr.junos.tty:TTY: OK.....starting NETCONF
DEBUG:jnpr.junos.tty_telnet:Write: xml-mode netconf need-trailer
DEBUG:jnpr.junos.tty_netconf:Received:
b'\n<hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants