[Bug 3872] Interactive input excessively buffered when using a mux socket if ControlPersist is set

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Oct 7 15:54:13 AEDT 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3872

--- Comment #8 from Darren Tucker <dtucker at dtucker.net> ---
Minimal repro case derived from the Arch bug tracker (in this case, on
Fedora):

$ rm -f /tmp/newsocket; time ssh -o ControlMaster=auto -o
ControlPersist=60s -o ControlPath=/tmp/newsocket -t -- yourserver true

real    0m5.566s
user    0m0.002s
sys     0m0.004s

The timing is dependent on how long you wait to hit enter a couple of
times.  Without the -t it does not exhibit the problem.

My first guess was ObscureKeystrokeTiming, but setting it to "no"
doesn't seem to help.  My second guess, since it takes two hits on
enter, was EscapeChar processing, but setting that to "none" doesn't
help either.

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


More information about the openssh-bugs mailing list