You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by "Rasool, Kaja Mohideen (Nokia - IN)" <ka...@nokia.com> on 2016/11/23 08:24:36 UTC

SshD Server supports Keep-Alive?

Hi all,

I'm running a SSH Server based on Apache Mina. The client is sending Keep-Alive messages regularly and also expects the response. But, my server doesn't respond and so the connection is getting closed.

I tried to look into the code; this line in KeepAlive Handler - https://github.com/apache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/server/global/KeepAliveHandler.java#L40 is returning ReplyFailure.

Does this mean SshD doesn't support KeepAlive?

// Kaja