Join us

Why does SSH send 100 packets per keystroke? ·

Why does SSH send 100 packets per keystroke? ·

The default macOS SSH client now floods connections with SSH2_MSG_PING “chaff” packets - a 2023 privacy tweak meant to hide keystroke timing. Nice in theory. In practice? It tanks performance for real-time terminal apps like games built on Bubbletea over SSH.

Turning it off - either through client flags or by tweaking Go’s ssh lib to stop advertising support - cut CPU and bandwidth by more than half.


Give a Pawfive to this post!


Only registered users can post comments. Please, login or signup.

Start writing about what excites you in tech — connect with developers, grow your voice, and get rewarded.

Join other developers and claim your FAUN.dev() account now!

Avatar

DevOpsLinks #DevOps

FAUN.dev()

@devopslinks
DevOps Weekly Newsletter, DevOpsLinks. Curated DevOps news, tutorials, tools and more!
Developer Influence
35

Influence

1

Total Hits

122

Posts