You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by mheemskerk <gi...@git.apache.org> on 2013/09/06 13:40:51 UTC
mina-sshd pull request: SSHD-256 Remove workaround for PuTTY SSH_MSG_CHANNE...
GitHub user mheemskerk opened a pull request:
https://github.com/apache/mina-sshd/pull/3
SSHD-256 Remove workaround for PuTTY SSH_MSG_CHANNEL_REQUEST
PuTTY sends a SSH_MSG_CHANNEL_REQUEST of type winadj@putty.projects.tartarus.org
along with some SSH_MSG_CHANNEL_WINDOW_ADJUST messages as part of its
window-size tuning. PuTTY expects the server to respond with
SSH_MSG_CHANNEL_FAILURE as described by the SSH protocol specification.
The workaround in ChannelSession however recognizes and ignores the invalid
request, thereby violating the SSH protocol and causing PuTTY to hang after the
command terminates.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mheemskerk/mina-sshd SSHD-256-putty-hangs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mina-sshd/pull/3.patch
----
----