Re: How to use the heartbeat properly

2017-10-25 Thread elijah baley
to keep an idle connection open. Better to create session-on-demand or session pool - but this is beyond the scope of this code. Bottom line: don't open SSH connection if you have nothing to do with it... From: Mei <meixiufe...@163.com> Sent: Tuesday, Octob

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