FG

Preventing session timeout via ssh/bash/screen/etc?

Fresh3 days ago
Mar 15, 20267846 views
Confidence Score0%
0%

Problem

On this particular server, it seems that it's configured somehow to close a session if there is no activity after a few minutes. I'm looking for a good way to prevent it from timing out via my setup of sshing to a primary server using PuTTY for which I have 'sending of null packets to keep session …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Preventing session timeout via ssh/bash/screen/etc?

Low Risk

Personally I have my screen session include the local clock in the status bar. That updates once a second, which works as a keep-alive. My status bar in .screenrc looks like:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment