qqt · a drop-in for ssh -L and ssh -R
The forwards you already type, without the relay.
qqt is a drop-in for ssh -L and ssh -R: the same
forwards, host names from your own ~/.ssh/config, and nothing installed on the
far box.
cargo install --path . --locked · or the install page
Measured against relayed ssh · median request latency
Warm channel
5.0×
47.7 ms qqt vs 240.0 ms ssh
Cold channel
10.6×
50.7 ms qqt vs 539.5 ms ssh
8 concurrent
16.2×
45.0 ms qqt vs 727.3 ms ssh
32 concurrent
13.1×
48.6 ms qqt vs 635.7 ms ssh
One production path: a US East GPU box from a European uplink, 41.5 ms direct RTT. qqt dials the instance's public IP over UDP; the platform's ssh access is relayed to 90.4 ms. Identical requests, alternated between the two transports.
Install: one binary on your side, an ssh login and one open UDP port either direction, nothing on the far box.
the evidence · both lanes, one rate scale
lime qqt · grey vendor ref.
hover a level — median / peak, both lanes
A real capture, not a model.
Every doubling buys qqt more: 175 → 1,780 Mbit/s at the median, a
1.84× step from n = 8 to n = 16. Plain ssh -L direct stops at
409 Mbit/s on eight streams and holds 82 at sixteen — a fifth of its own peak, on
a capture that carried a third of the bytes. The right-hand end of the grey field is a
lane that has stopped paying for its streams.
The field is a reading, not a model: at each (t, n) the vertical slope is the instantaneous gain in log rate per doubling of n, taken from the aggregate series of the two neighbouring cells; stroke weight is the local rate against one peak shared by both lanes, so line count and thickness compare the lanes stroke for stroke. Streamlines are seeded at the five levels, spaced evenly as log n, and integrated left to right; every arrow and dot rides one of the integrated lines, and no two arrowheads are drawn closer than a few pixels apart.
the field as numbers
Wire bytes are the capture's own total — bytes_total / 220
— header-only at a 54-byte snaplen, so they are payload-carried, not application goodput.
Each row names the record it was parsed from.
How to read the two shapes.
- Up is expensive, and qqt keeps paying. Each level sits one row above the last because the levels are spaced as log n. A lane that gains 2× per doubling climbs at the same slope everywhere; qqt's mean log-gain holds near a doubling through all four steps.
- A flat stretch is a ceiling. Where the slope falls to zero the lane has run out of path, not of demand. From n = 2 the ssh -L median barely moves: 151, 181, 409 Mbit/s.
- Down is a cost. ssh -L direct at n = 16 does not just stop climbing; it falls to 82 Mbit/s, below its own n = 4. The streams are competing for one window and losing.
- Same scale, both lanes. Line count and stroke weight are the local rate against one peak over both lanes, so the grey field is thin because the lane is slow, not because it was drawn thin.
Take it to a host you already ssh to.
A host name from ~/.ssh/config is all qqt needs: the name
resolves through your own ssh client, the server ships over the channel that client just
authenticated, and every new connection passes the ssh gate again.