[
https://issues.apache.org/jira/browse/SSHD-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213952#comment-16213952
]
Goldstein Lyor commented on SSHD-780:
-------------------------------------
The proper forum for such question is the {{[email protected]}} mailing list
and not the JIRA system. To answer your question - please read the [MINA SSHD
documentation|https://github.com/apache/mina-sshd/] regarding {{keepalive@*}}
handler (see [default registered handlers
section|https://github.com/apache/mina-sshd/#default-registered-handlers]). But
to answer your question briefly, I believe this feature is active by default.
The way it knows the server is alive is implicit - the
{{ClientConnectionServic#sendHeartBeat}} code sends such a request, and if the
server is non-response an exception will occur and thus terminate the session
> How does the HeartBeat work?
> ----------------------------
>
> Key: SSHD-780
> URL: https://issues.apache.org/jira/browse/SSHD-780
> Project: MINA SSHD
> Issue Type: Question
> Affects Versions: 1.4.0
> Environment: jdk1.8.0
> Reporter: MayDay
>
> How does the HeartBeat work?
> it only send keepAlive every interal time,but not to check the reply of the
> keepAlive timeout.
> how does the client know that the server is available.
> Or does other param need to set to make the client heartbeat work?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)