-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
MOTD prevents successful login attempts with CISCO #3424
Comments
Just opened #3441 and looks like it might be the same issue, except my Issue is on NXOS. |
@fisherbe @FriendlyGecko What does your MOTD look like? @fisherbe Are you using SSH for transport or something else (original problem was using "serial" connection i.e. console cable or similar)? |
|
@FriendlyGecko I don't see any issue when using SSH for this on Cisco IOS/IOS-XE
Can you reproduce your error using SSH and post the full exception stack here? |
The NX-OS item is a different issue related to a null password which is covered in the linked issue: |
Yeah, I was working on this issue in my pull request. It has been a good while since I had worked on it and the environment that I am using now does not appear to have the same issue. When I have access to the same lab, then I will troubleshoot it again. I am not concerned with #3441. |
Description of Issue/Question
When attempting to log into a device that uses a MOTD, the login fails. This is because the MOTD requires the user to first send a return character to wake it up. If I use putty to first console in and press enter, I can swap back to my netmiko script and log into the device.
Setup
1 Laptop
1 Console Cable
1 Network
Netmiko version
Netmiko device_type (if relevant to the issue)
Steps to Reproduce the Issue
Error Traceback
Relevant Python code
Potential Fix
I tried something similar to this but had no success. If I figure out a good answer that is flexible enough for majority use, then I will attempt to merge it. EDIT: I was inputting this change in base_connection and not cisco_base_connection
The text was updated successfully, but these errors were encountered: