[WIP] Make paramiko connection plugin not hang on wrong password #57526
It uses a mechanism available in Paramiko channel buffers to notify
Paramiko connection plugin
The text was updated successfully, but these errors were encountered:
…assword It uses a mechanism available in Paramiko channel buffers to notify about new data available for reading. The notification implemented with threading.Event shared across stdout and stderr buffers. In the fix the code just waits for the event, which clears on the paramiko side on any attempt to read data from the buffers. Part of the code for the fix was taken from Ansible ssh connection module, may be this will help to move ssh and paramiko connection modules to a shared code base with support identical features.