MINA SSHD
  1. MINA SSHD
  2. SSHD-258

[regression] binary input to exec channel is broken in 0.9.0 worked up to 0.8.0

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      attached test case, server is openssh

      openssh-server-6.2p2-5.fc19.x86_64

      Description

      0.9.0 output:

      Oct 21, 2013 1:27:10 AM org.apache.sshd.client.channel.AbstractClientChannel internalOpen
      INFO: Send SSH_MSG_CHANNEL_OPEN on channel 101
      Oct 21, 2013 1:27:10 AM org.apache.sshd.client.channel.ChannelExec doOpen
      INFO: Send SSH_MSG_CHANNEL_REQUEST exec
      Oct 21, 2013 1:27:11 AM org.apache.sshd.client.session.ClientSessionImpl doHandleMessage
      INFO: Received SSH_MSG_DISCONNECT (reason=2, msg=Packet corrupt)
      Oct 21, 2013 1:27:11 AM org.apache.sshd.common.session.AbstractSession$1IoSessionCloser operationComplete
      INFO: Session root@/10.35.0.72:22 closed

      Notice the "Packet corrupt"

      0.8.0 output:

      Oct 21, 2013 1:26:16 AM org.apache.sshd.client.channel.AbstractClientChannel internalOpen
      INFO: Send SSH_MSG_CHANNEL_OPEN on channel 0
      Oct 21, 2013 1:26:16 AM org.apache.sshd.client.channel.ChannelExec doOpen
      INFO: Send SSH_MSG_CHANNEL_REQUEST exec
      Oct 21, 2013 1:26:27 AM org.apache.sshd.client.channel.AbstractClientChannel handleRequest
      INFO: Received SSH_MSG_CHANNEL_REQUEST on channel 0
      Oct 21, 2013 1:26:27 AM org.apache.sshd.common.session.AbstractSession$1IoSessionCloser operationComplete
      INFO: Session root@/10.35.0.72:22 closed

      1. SSHTest.java
        0.9 kB
        Alon Bar-Lev

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Guillaume Nodet
              Reporter:
              Alon Bar-Lev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development