From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B878313832E for ; Sun, 17 Jul 2016 22:31:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFCC9E0BA0; Sun, 17 Jul 2016 22:31:20 +0000 (UTC) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ADE46E0B90 for ; Sun, 17 Jul 2016 22:31:19 +0000 (UTC) Received: by mail-wm0-f54.google.com with SMTP id o80so93649016wme.1 for ; Sun, 17 Jul 2016 15:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jSEwxeNjTw/uybSIP3GM6JUlHVew+ehOaFUua4SgQ8I=; b=MCxm1Oq0h8ExRSVf13LvFv0cQx4MPJcjVz2nGRLXn98wJTsvN0z5Zx9noFcnGZ6t+f ZTOPFbbNs9p4OCncLXOCWnEAqjG2QJGW3driTe1MW116GesS4lnhRKcUOUhZihiCdxKt 94jIMwWdDL14M1bFXb8GVIQ32uHh+cQzni/Ute8OBu05ViB/9ydwTgc+1bR2YmElx0B8 EyMIziwbEqSHFinCeSdTClUv9TbRcb+uuLQQJ2riJl8OE27VsbGSUCgJ6t1tWscTr9go O0bQQnE2VBzLR7bvZbZxxjGSRo2eKy8g2s93y5SvJgwyIP2KKFATHY7Tl0X25Fou2VbE RHtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=jSEwxeNjTw/uybSIP3GM6JUlHVew+ehOaFUua4SgQ8I=; b=mxvSTFye2DYPsVFzZMO7iHbT4FxScBo9wRfILLCqC/8pdYd113Asa+/l8VSKmIHPhG c/vOb5arp6zW3NQKlcXAbFnBqN5bPYTll02k+/CDApNgk37+3vmxANTR/UQxGiwq8D1p 0TsjQ0s9xYbMkDrT3sVjiudiuHzoV2TZ/cy/2qg8hweBd4kVPToY7rslrHmKgRwweK4m dkL7zFVCeKWLJnWvZqxBDfPbBm5/r8+4FsEoCKpCvX8NC7ZKI1mWbJDmfLAtyVdKLJJK OyjomAeA+pQLa9BB5I4P9Hw+lAz+aiZIODUARdB5jrs1SwykyVnyTjBRtYc10k+azDaB X/CA== X-Gm-Message-State: ALyK8tJzXWGW4A0Z7nnjXgS0FavHZu8MA1r4iZ+HI5REfdrLQ+I2dR5CnKSsgbX2Eq9KLGcGOIOqCKejhXhz+Q== X-Received: by 10.28.146.9 with SMTP id u9mr53758169wmd.52.1468794678290; Sun, 17 Jul 2016 15:31:18 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.194.142.162 with HTTP; Sun, 17 Jul 2016 15:31:17 -0700 (PDT) In-Reply-To: <1715734.6NlNPddb3V@dell_xps> References: <1715734.6NlNPddb3V@dell_xps> From: Adam Carter Date: Mon, 18 Jul 2016 08:31:17 +1000 Message-ID: Subject: Re: [gentoo-user] Keep alive within SSH session To: "gentoo-user@lists.gentoo.org" Content-Type: multipart/alternative; boundary=001a114431380c31190537dc6962 X-Archives-Salt: 96fbb104-11e3-4093-becb-7a939c3e9dcf X-Archives-Hash: 0b5b13d3144ba3ca1a928392a22cd647 --001a114431380c31190537dc6962 Content-Type: text/plain; charset=UTF-8 On Mon, Jul 18, 2016 at 12:02 AM, 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. > > 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. > Have you checked the router config for a session timeout? Eg on a Cisco you may have something like; ssh timeout 30 Often setting this to 0 will disable the timeout, but RTFM. --001a114431380c31190537dc6962 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On M= on, Jul 18, 2016 at 12:02 AM, Mick <michaelkintzios@gmail.com&= gt; 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.

This is what I try to achieve:

I login into a router with SSH from my PC.=C2=A0 Then I can run certain com= mands to
start and monitor a debugging session in the router.=C2=A0 However, if I le= ave
alone the SSH session, it will soon time out.

Have you checked the router config for a session timeout? Eg on a C= isco you may have something like;

ssh timeout 30

O= ften setting this to 0 will disable the timeout, but RTFM.
=
--001a114431380c31190537dc6962--