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