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