Mailing List Archive

[Bug 3067] Fails to unlink ControlMaster socket early enough, confuses other clients

Damien Miller <> changed:

What |Removed |Added
CC| |

--- Comment #1 from Damien Miller <> ---
I think you have two options here:

First, you can explicitly shut down multiplexed sessions that have
stalled underlying TCP connection. E.g. I use

for x in ~/.ssh/ctl-* ; do test -r "$x" && ssh -Fnone -Ostop
-oControlPath="$x" dummy ; done

Second, you can set a protocol-level health check to automatically kill
unresponsive sessions. E.g. adding the following to ~/.ssh/config

ServerAliveInterval 2m
ServerAliveCountMax 3

Will terminate any unresponsive connection after six minutes.

You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
openssh-bugs mailing list