Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Make paramiko connection plugin not hang on wrong password #57526

Draft
wants to merge 1 commit into
base: devel
from
Commits on Jun 7, 2019
  1. Fixing for #12608 paramiko connection plugin hung with wrong password

    ahlinc committed May 31, 2019
    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.
You can’t perform that action at this time.