You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2016/08/21 17:13:21 UTC

[jira] [Updated] (SSHD-692) Cannot repeatedly call ChannelSession#executeRemoteCommand

     [ https://issues.apache.org/jira/browse/SSHD-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Goldstein Lyor updated SSHD-692:
--------------------------------
    Summary: Cannot repeatedly call ChannelSession#executeRemoteCommand  (was: Send SSH_MSG_CHANNEL_EOF on closing ChannelExec)

> Cannot repeatedly call ChannelSession#executeRemoteCommand
> ----------------------------------------------------------
>
>                 Key: SSHD-692
>                 URL: https://issues.apache.org/jira/browse/SSHD-692
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>             Fix For: 1.3.0
>
>
> The {{ChannelExec}} does not send an EOF indication priory to its closure (like shell does) and some servers misbehave when it is missing and a lot of commands are send repeatedly over the same session. According to [RFC 4254 - section 5.2|https://tools.ietf.org/html/rfc4254#section-5.3]:
> {quote}
> When a party will no longer send more data to a channel, it SHOULD send SSH_MSG_CHANNEL_EOF
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)