[
https://issues.apache.org/jira/browse/SSHD-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021752#comment-13021752
]
Bobby Powers commented on SSHD-117:
-----------------------------------
does it make sense to match the request against the regex '^keepalive@' instead
of these 3 (possibly more in the future) cases?
> 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
>
> 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