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
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