FG

ssh sessions in xterms freeze for many minutes whenever they disconnect

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

Problem

If I ssh to a remote machine and then lose internet connectivity, the session freezes. I can't control-c or otherwise abort and go back to my local xterm or terminal prompt but if I wait several minutes it will do so. There must be some way to force it to abort the remote ssh session when connectiv…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: ssh sessions in xterms freeze for many minutes whenever they disconnect

Low Risk

Tilda period should do what you want ( ). It must be the first thing typed after pressing enter, so press enter and then type it. Here is the manual entry for ssh: ctrl-d might also work. Edit: SSH has a lot of escape character commands built in. Wi…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment