# Why does SSH send 100 packets per keystroke?

DevFeed: [Why does SSH send 100 packets per keystroke?](<https://devfeed.tech/articles/why-does-ssh-send-100-packets-per-keystroke-40771.md>)

Original publisher: [Read original article](<https://eieio.games/blog/ssh-sends-100-packets-per-keystroke>)

Author: Nolen Royalty (eieiogames@gmail.com)

Published: 2026-01-22T00:00:00Z

Content type: article

Language: en

Sources: [Eieio Games](<https://devfeed.tech/sources/eieio-games.md>)

Topics: [ssh](<https://devfeed.tech/topics/ssh.md>), [browser-game](<https://devfeed.tech/topics/browser-game.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [awk](<https://devfeed.tech/tags/awk.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [bots](<https://devfeed.tech/tags/bots.md>), [cells](<https://devfeed.tech/tags/cells.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [client](<https://devfeed.tech/tags/client.md>), [clone](<https://devfeed.tech/tags/clone.md>), [code](<https://devfeed.tech/tags/code.md>), [commands](<https://devfeed.tech/tags/commands.md>), [commit](<https://devfeed.tech/tags/commit.md>), [crypto](<https://devfeed.tech/tags/crypto.md>), [game](<https://devfeed.tech/tags/game.md>), [go](<https://devfeed.tech/tags/go.md>), [library](<https://devfeed.tech/tags/library.md>), [packets](<https://devfeed.tech/tags/packets.md>), [ssh](<https://devfeed.tech/tags/ssh.md>)

## AI overview

A single keystroke triggered dozens of 36-byte SSH packets because OpenSSH's keystroke-timing obfuscation sends chaff at roughly 20 ms intervals. The feature is intended to make typing patterns harder to infer, but added CPU, syscall, and bandwidth costs in the author's latency-sensitive game. Disabling it with `ObscureKeystrokeTiming=no` helped the author's test bots, but would require users to set a client option. The author instead patched Go's SSH library to stop advertising the `[email protected]` extension that enables these ping chaff messages. In the reported test, CPU fell from 29.90% to 11.64%, syscalls from 3.10s to 0.66s, crypto time from 1.6s to 0.11s, and bandwidth from about 6.5 to 3 Mbit/sec. The author notes that maintaining a fork carries risk.

## Source excerpt

I made my next game twice as fast by forking go's crypto library