RE: channel request

2019-06-16 Thread Lyor Goldstein
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:

RE: channel request

2019-06-16 Thread Lyor Goldstein
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

RE: channel request

2019-06-16 Thread Lyor Goldstein
>> 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

RE: channel request

2019-06-16 Thread Lyor Goldstein
>> 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