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
base: master
from

Conversation

Projects
None yet
3 participants
@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

Cuthbert
Merge Amazon change 5034409 to GitHub:
Add a mechanism for timing out a connection if the ssh banner never completes.
pala@amazon.com
r:cuthbert@amazon.com
@lndbrg

This comment has been minimized.

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 referenced this pull request Feb 24, 2015

Merged

Timeout fixes #491

@bitprophet

This comment has been minimized.

Member

bitprophet commented Feb 27, 2015

Rolling into #491

@bitprophet bitprophet closed this Feb 27, 2015

bitprophet added a commit that referenced this pull request Sep 30, 2015

Rework changelog entries re #491 a bit
Closes #491, closes #62, closes #439

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