Gentoo Archives: gentoo-user

From: lukash <lukkash@×××××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Keep alive within SSH session
Date: Sun, 17 Jul 2016 18:03:46
Message-Id: 1468778612.10575.18.camel@email.cz
In Reply to: Re: [gentoo-user] Keep alive within SSH session by Mick
1 On Sun, 2016-07-17 at 18:47 +0100, Mick wrote:
2 > On Sunday 17 Jul 2016 14:14:42 you wrote:
3 > > On Sun, 17 Jul 2016 17:35:55 +0100
4 > > Mick wrote -
5 > >
6 > > > On Sunday 17 Jul 2016 16:20:30 Ralf wrote:
7 > > > > On 07/17/2016 04:02 PM, Mick wrote:
8 > > > > > I am not sure of the correct approach to achieve a prolonged
9 > > > > > remote=
10 > > > > >
11 > > > > > debugging session through SSH and avoid the SSH session
12 > > > > > timing out.=
13 > >
14 > > What you need is expect or Expect or pexpect depending on your base
15 > > scripting language preference - tcl, perl, or python.
16 > >
17 > > Dave F
18 >
19 > Thank you Dave!  I'm emerging dev-tcltk/expect as I type
20 > this.  Hopefully the 
21 > learning curve won't be too steep.  ;-)
22
23 You may also wanna try the ServerAliveInterval option in your client's
24 ssh config. It sends some keepalive data to the server every X seconds,
25 sounds like what you need.

Replies

Subject Author
Re: [gentoo-user] Keep alive within SSH session Daniel Campbell <zlg@g.o>