Skip to content

Conversation

@tomaswolf
Copy link
Member

OpenSSH < 5.1p1 (from 2008!) does not handle a success reply and then disconnects after a few keepalives. It really needs a failure reply. Since 5.1p1, OpenSSH can handle both failure and success replies to its keepalive channel messages.

Always return a failure reply if the request is "[email protected]".

Fixes #709.

…SH server

OpenSSH < 5.1p1 (from 2008!) does not handle a success reply and then
disconnects after a few keepalives. It really needs a failure reply.
Since 5.1p1, OpenSSH can handle both failure and success replies to
its keepalive channel messages.

Always return a failure reply if the request is "[email protected]".
@tomaswolf tomaswolf merged commit 8dc354f into apache:master Mar 26, 2025
7 checks passed
@tomaswolf tomaswolf deleted the gh-709 branch March 26, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSH client disconnects from older OpenSSH servers due to Keepalive

1 participant