Open FriendlyGecko opened 2 months ago
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)?
@ktbyers ,
For my #3441 ,
Default motd: "User Access Verification"
Using SSH, not serial or telnet.
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