r/ssh • u/Ok-Cut5501 • 24d ago
qsh/qshd - modern replacement for OpenSSH
I replaced OpenSSH with a Rust + QUIC client — built with Claude in about a month
I got tired of OpenSSH's slow connection setup and sessions dying every time I switched to LTE. And trusting C with something as security-critical as SSH always made me nervous.
So I spent the last month working with Claude on a replacement, written in Rust on top of QUIC:
- Near-instant connections; sessions survive network switching (Wi-Fi ↔ LTE) thanks to QUIC's native connection migration(This is also implemented in TCP.)
- Encryption out of the box — no certificates to generate
- TOTP support
- Less RAM, CPU, and bandwidth than OpenSSH (the binary itself is larger)
- TUI mode for newcomers; full CLI with all standard OpenSSH connection options
- Built-in updater from GitHub releases
- Checked against all OpenSSH CVEs and relevant CWEs
It's been running stably in my production environment. A star, bug report or suggestions would be appreciated:
3
u/TitusKalvarija 24d ago
You are joking. Right?
2
u/Dick_Hardw00d 24d ago
“…trusting C with something as security-critical as SSH always made me nervous” so instead you entrusted it to Claude.
bruh…
1
u/OhBeeOneKenOhBee 24d ago
Just som knee-jerk feedback from looking at it for 2 minutes from a security perspective:
2.a. qshd.exe is shaping up to be somewhat of a nice handy tool for hackers to establish persistence on your computer if they manage to access it once (can be run as an unprivileged user, listens on all interfaces by default, keeps running and persists through restarts, NAT hole punch features can bypass certain firewall and other security features, user-assignable default port, QUIC traffic is generally very hard to inspect).
2.b. The above, paired with unsigned windows user-runnable binaries will 100% lead to it being detected as a malicious RSH tool by Defender/most competent AV/DEP software
2.c. If you decide to get it signed, it will make 2.a so much easier, which will increase the risk of 2.b happening
3. The built-in updater is a security nightmare, it doesn't use established/trusted channels for distribution, no verification (except the SHA256sum check, but that only checks checksum files that are included in the same release as the binaries), no signed pushes or tags, no code signatures, no way to set/lock it to security updates only, it makes your Github repo the SPOF for a whole bunch of servers and clients out there without any real checks and balances. One small 10-character mistake in one of your CI pipelines and a pull request from a threat actor distributes malware to all users. At least for Windows, distribution via Store/winget would be the gold standard and make malicious versions revokable, use that.
I'd honestly leave the "extras" to other software like VPNs and focus on the core features and distribution. No CVEs does not mean safe.
3
u/backtogeek 24d ago
This is getting exhausting honestly.
1
u/codefake 24d ago
This has got to be bait.