You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you know if ssh2-python supports multiplexing? I'm asking because I don't think paramiko does (see paramiko/paramiko#852). I've encountered issues with one cloud where IM's ssh connections to an Ansible node in that cloud trigger DoS protection in their site firewall and then block IM's IP address temporarily. They told me that using ssh configuration like this:
ControlMaster auto
ControlPath ~/.ssh/socket/ssh_mux_%h_%p_%r
ControlPersist 30m
would solve the problem, but it seems that this can't be done with paramiko.
There are some issues installing this package that complicates their usage.
There are other library: python-libssh2 available in most of the linux distributions.
The problem is that it is a bit old, and does not have maintenance for a long time. https://github.com/wallix/pylibssh2
https://parallel-ssh.org/post/ssh2-python/
The text was updated successfully, but these errors were encountered: