The heartbeat task of client not support keepalive function well,is it a bug?

2017-10-27 Thread Mei
The heartbeat task of client not support keepalive function well,is it a bug? The heartbeat request of sshClient is a SSH_MSG_GLOBAL_REQUEST, but the default buffer of heartbeat set false (see ClientConnectService#sendHeartbeat) buf.putBoolean(false); The sshServer reponse

The heartbeat task of client not support keepalive function well,is it a bug?

2017-10-26 Thread Mei
The heartbeat task of client not support keepalive function well,is it a bug? The heartbeat request of sshClient is a SSH_MSG_GLOBAL_REQUEST, but the default buffer of heartbeat set false (see ClientConnectService#sendHeartbeat) buf.putBoolean(false); The sshServer reponse

How to use the heartbeat properly

2017-10-24 Thread Mei
What version of SSHD are you using? 1.4.0 What JVM are you using (java -version)? 1.8 What did you do? 1、 I creat a ssh client to connect another ssh server (which by openssh) with params HEARTBEAT_INTERAL = 60 IDLE_TIMEOUT = 300 NIO_READ_TIMEOUT = 315 with the following