FG

PuTTY/SSH: How to Prevent Auto-Logout?

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

Problem

My ISP's SSH server (Debian 2.0) logs me out after 35 minutes of inactivity, when connected with PuTTY (Windows XP). This is a big problem when I utilize the server for port-forwarding. The final messages displayed in the terminal: PuTTY options that do not help: Sending of null packets to keep ses…

Error Output

This terminal has been idle 30 minutes. If it remains idle
for 5 more minutes it will be logged out by the system.

Logged out by the system.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: PuTTY/SSH: How to Prevent Auto-Logout?

Low Risk

When you need only port forwarding, you can try if you disable starting a shell at all, and disable allocating a pseudo-terminal. Then the terminal can no longer be idle. If your ISP does not allow this, you can run a script like this in your shell …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment