RE: channel question

2019-06-16 Thread Lyor Goldstein
>> By the way, in addition to the previous question. Can I increase the session idle timeout ? Currently 10m, let's say I want it to be 30m ? Easily: see FactoryManager#IDLE_TIMEOUT configuration parameter.Can be done globally - by setting it on the SSH client/server or even per specific session

RE: channel question

2019-06-13 Thread Lyor Goldstein
>> How or can I hold the channel open ? Channels are auto-closeable - i.e., try-with-resource can be used. In other words, it won't close on your end unless you close it. However: >> It seems that once I create and open and actually use the channel, it is being closed without my knowledge. You c

Re: channel question

2019-06-11 Thread Lyor Goldstein
>> Suppose my scripts needs the profile to run at the beginning. I am not sure what "profile" you mean - in the context of SSH there is no such concept. If you mean the ".profile" file (or something similar) that "runs" automatically when you login, then it depends on the definitions of your shel