On Mon, Jul 18, 2016 at 12:02 AM, Mick <michaelkintz...@gmail.com> 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.