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

Bill Kuker updated SSHD-117:
----------------------------

    Attachment: SSHD-117.patch

Here is a patch including these changes. I do not expect it is really needed 
for this change, but I hope to offer more substantial patches in the future and 
may as well find out if I have done it right.

> Ignore "[email protected]" in addition to "[email protected]"
> --------------------------------------------------------------------
>
>                 Key: SSHD-117
>                 URL: https://issues.apache.org/jira/browse/SSHD-117
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>         Environment: Any environment, JSch based client.
>            Reporter: Bill Kuker
>            Priority: Trivial
>         Attachments: SSHD-117.patch
>
>
> It would be nice to also ignore jcraft keepalive messages.
> I think it is silly that this is how keepalive is done, but if MINA SSHD 
> ignores one it may as well ignore the other. 
> sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java
> -        if (req.equals("[email protected]")) {
> +        if (req.equals("[email protected]") || 
> req.equals("[email protected]")) {
> Personally I'd also like to see:
> -        log.error("Unknown global request: {}", req);
> +       log.warn("Unknown global request: {}", req);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to