Replies: 1 comment
-
@AuroraTea Netmiko does not support this natively though I would think you could implement over the top of Netmiko that manages and keeps connections alive. You probably would need to test both keepalive and is_alive.
https://docs.paramiko.org/en/stable/api/transport.html#paramiko.transport.Transport.set_keepalive I have definitely had issues with is_alive() at various points (basically to the extent that I have considered completely removing it). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to maintain a TCP connection and reuse the same TCP connection for multiple SSH connections to the same host and user. If it's supported, how do I use it? If not supported, I am currently facing an issue where the keep_alive parameter seems ineffective, and I need to use is_alive to keep the connection alive manually. Is this normal?
Beta Was this translation helpful? Give feedback.
All reactions