On 07/17/2016 11:03 AM, lukash wrote:
> On Sun, 2016-07-17 at 18:47 +0100, Mick wrote:
>> On Sunday 17 Jul 2016 14:14:42 you wrote:
>>> On Sun, 17 Jul 2016 17:35:55 +0100
>>> Mick wrote -
>>>
>>>> On Sunday 17 Jul 2016 16:20:30 Ralf wrote:
>>>>> On 07/17/2016 04:02 PM, Mick wrote:
>>>>>> I am not sure of the correct approach to achieve a prolonged
>>>>>> remote=
>>>>>>
>>>>>> debugging session through SSH and avoid the SSH session
>>>>>> timing out.=
>>>
>>> What you need is expect or Expect or pexpect depending on your base
>>> scripting language preference - tcl, perl, or python.
>>>
>>> Dave F
>>
>> Thank you Dave!  I'm emerging dev-tcltk/expect as I type
>> this.  Hopefully the 
>> learning curve won't be too steep.  ;-)
> 
> You may also wanna try the ServerAliveInterval option in your client's
> ssh config. It sends some keepalive data to the server every X seconds,
> sounds like what you need.
> 
Please let me know if you have any issues. I'm not an expert in Tcl (or
expect), but I help maintain the package and it's recently had bugs that
I attempted to fix, so let me know how it works out if you decide to go
that way.
-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to