public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Keep alive within SSH session
  @ 2016-07-18  9:02 99% ` Christian Rößner
  0 siblings, 0 replies; 1+ results
From: Christian Rößner @ 2016-07-18  9:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]


> Am 17.07.2016 um 16:02 schrieb Mick <michaelkintzios@gmail.com>:
> 
> I am not sure of the correct approach to achieve a prolonged remote debugging
> session through SSH and avoid the SSH session timing out.
> 
> This is what I try to achieve:
> 
> I login into a router with SSH from my PC.  Then I can run certain commands to
> start and monitor a debugging session in the router.  However, if I leave
> alone the SSH session, it will soon time out.  The debugging only runs while
> the session is live.  Exiting the SSH session causes all debug output to be
> lost.
> 
> If I continue to run (router) commands on the terminal, while the debugging is
> running, the SSH time out is postponed.
> 
> What do you suggest I try on an SSH terminal from my PC to keep running
> recurring commands after I have connected to the router?  I will need to keep
> a debugging session going for some hours, in order to collect the data I'm
> after.

I do this with a combination of "mosh" and "tmux". That works perfectly.

It even can catch disconnected DSL or Wifi.

Christian
--
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, https://www.roessner-network-solutions.com


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 841 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-07-17 14:02     [gentoo-user] Keep alive within SSH session Mick
2016-07-18  9:02 99% ` Christian Rößner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox