Goldstein
Sent: Sunday, June 16, 2019 7:00 PM
To: dev@mina.apache.org
Subject: RE: channel request
>> How do I set it? Is it better solution then the idletimeout ?
See
https://github.com/apache/mina-sshd/blob/master/docs/client-setup.md#keeping-the-session-alive-while-no-traffic
Also:
l" channel
You are right. What shall I do?
-Original Message-
From: Lyor Goldstein
Sent: Sunday, June 16, 2019 6:57 PM
To: dev@mina.apache.org
Subject: RE: channel request
>> I took this code
https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/uutils/src/ma
>> How do I set it? Is it better solution then the idletimeout ?
See
https://github.com/apache/mina-sshd/blob/master/docs/client-setup.md#keeping-the-session-alive-while-no-traffic
Also:
https://github.com/apache/mina-sshd/blob/master/docs/client-setup.md#running-a-command-or-opening-a-shell
>> I took this code
https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/uutils/src/main/java/org/ovirt/engine/core/uutils/ssh/SSHClient.java
that
is using the sshd
The code you mention runs a single (!) command and then exits. I believe
your original question was about