[Bug 3655] Default ObscureKeystrokeTiming makes X forwarding really slow

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Mar 31 21:37:43 AEDT 2024


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

Andreas Gustafsson <gson at araneus.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gson at araneus.fi

--- Comment #1 from Andreas Gustafsson <gson at araneus.fi> ---
I am also affected by this bug.  An X11 application suddenly became
slow to the point of unusability, and it took quite a lot of detective
work to determine that the cause was neither the application itself nor
the X server but ssh.

To help quantify the worst-case slowdown, I am attaching a test program
that makes 1000 round-trip requests to the X server.  Running it via
the ssh included in macOS Sonoma 14.4.1 (OpenSSH_9.6p1) shows:

$ ssh -X -oObscureKeystrokeTiming=no localhost
$ time ./test
real    0m0.120s
user    0m0.007s
sys     0m0.018s
$ exit

$ ssh -X localhost
$ time ./test
real    0m24.095s
user    0m0.018s
sys     0m0.066s

That's a slowdown by a factor of 200.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list