FG
💻 Software

Way to avoid ssh connection timeout & freezing of GNOME Terminal

Fresh5 days ago
Mar 15, 2026188923 views
Confidence Score1%
1%

Problem

When I connect via ssh to certain servers, it timeouts and "freezes" the terminal (doesn't accept input, doesn't disconnect, can't Ctrl-C to kill the ssh process or anything). This is in Ubuntu's though it seems to be pausing the terminal input/output, and doesn't affect the operation of the GNOME Terminal software itself. So less a bug with than an annoying inconsistency with ssh. So, is there a way to prevent/regain the terminal from ssh connections that have timed out?

Error Output

gnome-terminal

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Way to avoid ssh connection timeout & freezing of GNOME Terminal

Low Risk

Press Enter, ~, . one after the other to disconnect from a frozen session. The section "ESCAPE CHARACTERS" in the ssh man page explains the underlying details.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment