-
Notifications
You must be signed in to change notification settings - Fork 344
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
Getting wrong username/password error while connecting through serial mode #1229
Comments
I tried to increase the sleep time before reading the output. But still having issue. |
I see after first bad password, the code enter's password for login instead of username. Which cause login incorrect error. |
Which box is this tried on? What is the Junos s/w version? |
This is from EX-2300-C JUNOS 20.4R3-S3.4. |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am able to connect to a switch with no password through serial mode without any error. But after setting password to the switch when I try to connect through serial mode I have seen the code fail randomly. Some times I am able to connect but most of the time I get
ConnectAuthError(host: None, msg: Bad username/password)
.When I looked at the code I see the serial read output shows the password was provided for the login prompt after 1st password fail.
output is from this
py-junos-eznc/lib/jnpr/junos/transport/tty_serial.py
Line 84 in 79d560d
The text was updated successfully, but these errors were encountered: