Skip to content

How to disable "terminal width 511" and "terminal length 0" which are sent by default? #3154

Closed Answered by ktbyers
amitsova asked this question in Q&A
Discussion options

You must be logged in to vote

Just use device_type="generic".

It will make an SSH connection and do nothing else post login.

You could also make your own class and inherit from the Netmiko class and overwrite the session_preparation method. If you wanted to retain the other methods, but change the session_preparation behavior. Of course, you can just directly edit the Netmiko source code as well.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@amitsova
Comment options

Comment options

You must be logged in to vote
2 replies
@amitsova
Comment options

@ktbyers
Comment options

Answer selected by amitsova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants