Skip to content

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 21:10
· 29 commits to main since this release

Security fixes from a review of qsh and qshd, signed updates, a locked-down build, and friendlier config values.

Please read before updating

  • qsh update from 1.9.x works as before. From 1.10.0 on, it installs only signed releases, so releases older than 1.10.0 can no longer be installed with qsh update (use the install script for them).
  • qsh: in ~/.config/qsh/config, a value that is none of a setting's choices (BatchMode maybe) is now an error instead of a quiet "no". ssh's own files are not checked, as before.
  • qsh: Host patterns in ~/.ssh/config are now case-sensitive, as in ssh (Host MyServer no longer matches qsh myserver). qsh's own config still ignores case.
  • qsh: your own known_hosts is refused when anyone may write it or another user owns it; such a system file is skipped with a warning.
  • qshd: with gateway_ports = "yes", permit_listen and permitlisten= are checked against all addresses, where qshd really listens: "localhost:9000" no longer allows it, "*:9000" does.
  • qshd: qshd -t refuses counts above 1 000 000 and times above ten years (they used to crash qshd later).
  • qsh punch: the packet format changed; both sides need 1.10.0.

Security

  • Text from the server (banner, errors, qsh cp, qsh multi, qsh doctor) and the host in "Last login" no longer pass invisible Unicode characters, such as right-to-left overrides that reorder what the terminal shows.
  • qsh forget also removes pattern lines (*.example.com) that trust the host, as ssh-keygen -R does.
  • A ProxyJump or ProxyCommand in a Match block qsh cannot check, in qsh's own config, refuses the connection instead of connecting directly.
  • Address ranges written as ::ffff:127.0.0.0/104 now match IPv4 clients in deny_users, allow_users and [[match]].
  • qsh punch: each packet carries a counter and an HMAC; the shared secret is never sent, and a replayed packet cannot move the tunnel. QSH_PUNCH_ID sets the secret without showing it in the process list.
  • qshd reads the first message of a connection with a 4 KiB limit, so a huge user name cannot flood the log.
  • qsh holds host certificate authorities to the server's key rules (RSA of 2048 bits or more, no DSA) and refuses host certificates with critical options.
  • The .pub file of a new key is never written through a link someone put in its place, and new directories for keys are private.
  • Smaller fixes: a resumed upload with a wrong size from the helper, 256 or more -t/-v flags, a huge window size with echo prediction, agents with more than 1024 keys, -N reconnecting forever (it gives up after an hour), and a hangup sometimes taken for a dropped connection.
  • Not affected by CVE-2026-123158 (OpenSSH on musl without PAM): qshd checks passwords without crypt(), never accepts locked accounts, and a test now covers it.

Signed updates

  • qsh update checks the signature of the release's SHA256SUMS against the release key built into qsh, runs the release's installer only if its checksum is listed there, and refuses a release older than the installed qsh unless asked for by name.

Locked-down build

  • Every convenience is now a Cargo feature, on by default. cargo build --release --no-default-features builds a qsh and qshd with only a shell and commands, keys and certificates, and known host keys; qshd refuses requests for the rest before any of their code runs. See "Locked-down build" in the README.

Config

  • qsh: yes/no settings also take 1/0, on/off, true/false, and LocalForward takes the -L form (LocalForward 8080:localhost:80).
  • qshd: choices in any case ("No", "ClientSpecified"), times with units ("90s", "5m", "1h30m"), numbers in quotes, and a hint for port = ... (qshd uses listen).

Static Linux binaries (musl) for x86_64 and aarch64, macOS (Apple Silicon and Intel), Windows (qsh and qshd), and a native Android build for Termux (qsh-aarch64-android).

curl -fsSL https://github.com/VLOD-ZDOV/quic-ssh/releases/latest/download/install.sh | sh

Already installed: qsh update.

See the README for setup.