I have an SSH server that, instead of sending a
SSH_MSG_CHANNEL_SUCCESS or SSH_MSG_CHANNEL_FAILURE message in response
to my "exec" SSH_MSG_CHANNEL_REQUEST, is sending
SSH_MSG_CHANNEL_DATA. In response, I send SSH_MSG_DISCONNECT but is
that what I should be doing? If I treated the "want reply" response
as being optional, the SSH session would otherwise work normally.
What's weird is that my "pty-req" SSH_MSG_CHANNEL_REQUEST message does
get a SSH_MSG_CHANNEL_SUCCESS - it's just the "exec"
SSH_MSG_CHANNEL_REQUEST that doesn't.
Filing a bug report with the developer of this particular SSH server
does seem prudent however.