[erlang-patches] SSH does not send SSH_MSG_CHANNEL_SUCCESS

Ingela Anderton Andin ingela@REDACTED
Thu Aug 7 10:40:37 CEST 2008


Hi Andrey,

thank you for your patch suggstion. I am just in the middel of 
remodeling the ssh-code to fit it into a OTP-supervison tree so the code
has changed quite a lot, but I will take this aspect into the equation.

Regards Ingela, Erlang/OTP -Ericsson

Andrey Tsirulev wrote:
> Hello,
>
> According to RFC4254 (section 5.4), SSH_MSG_CHANNEL_REQUEST packet, sent e.g. to start shell or allocate pty, needs answer (SSH_MSG_CHANNEL_SUCCESS or 
> SSH_MSG_CHANNEL_FAILURE) if request's 'want reply' field is set to true.
>
> ssh_cm module (R12B-3) never sends SSH_MSG_CHANNEL_SUCCESS packet. It results in hanging session after login, if ssh client sets 'want reply' in its 'shell' or 'pty-req' request, and 
> waits for reply.
>
> The bug is reproducible with putty 0.60 windows client.
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-patches




More information about the erlang-patches mailing list