Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add timeout to authentication step #869
Ran into a problem with an SSH server that became non-responsive during authentication. The current behaviour of paramiko is to block while authentication is in progress leading to the client app hanging on an auth response.
Change is to add an auth_timeout option and apply the timeout in the wait_for_response method of AuthHandler.
Includes test cases for this additional code.