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

Add timeout for handshake completion. #62

Closed
wants to merge 1 commit into from
Closed

Add timeout for handshake completion. #62

wants to merge 1 commit into from

Conversation

dacut
Copy link

@dacut dacut commented Mar 21, 2012

This adds a mechanism for timing out a connection if the ssh handshake never completes.

When managing large fleets, we not-infrequently encounter cases where a host is alive enough to accept an SSH connection but not enough to accept commands. (I've seen this with failing disks, for example -- my hypothesis is enough of the ssh daemon is cached in memory, but the shell or other libraries can't be read.)

(Internal p4 CLN 5034409; patch approved for release via TT/0013249552)
author: pala@amazon.com

Add a mechanism for timing out a connection if the ssh banner never completes.
pala@amazon.com
r:cuthbert@amazon.com
@lndbrg
Copy link
Contributor

lndbrg commented Aug 14, 2014

@dacut sorry for the late reply! Do you think you can add som tests to this?

lndbrg added a commit to lndbrg/paramiko that referenced this pull request Feb 24, 2015
@lndbrg lndbrg mentioned this pull request Feb 24, 2015
@bitprophet
Copy link
Member

Rolling into #491

@bitprophet bitprophet closed this Feb 27, 2015
bitprophet added a commit that referenced this pull request Sep 30, 2015
dkhapun pushed a commit to cyberx-labs/paramiko that referenced this pull request Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants