Skip to content

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 17:45
· 45 commits to main since this release

A bug-fix release: about 70 small fixes found by reviewing every source file. Most are edge cases.

Now an error: please read before updating

  • qsh: a malformed LocalForward or RemoteForward in ~/.config/qsh/config ("Bad forwarding specification"). Before, it was skipped silently.
  • qsh: a ProxyJump on an intermediate hop, or a ProxyCommand on any hop but the first. Before, it was ignored.
  • qsh ui: saving when ~/.config/qsh/ui-hosts has hand-written Match or Include lines. Before, saving dropped them. Edit such a file by hand.

qshd

  • qsh cp -r and scp -r uploads can no longer be redirected outside the target by swapping a directory during extraction. On Windows, device names such as CON or NUL are refused.
  • An SFTP OPEN refused for too many open files no longer creates or empties the file.
  • scp to ~user/new-file works, as with OpenSSH.
  • A very large penalty time in the config no longer stops qshd from accepting connections. An exempt IPv6 address is no longer blocked because a neighbor was penalized.
  • Leaving during key login counts as a failed login only after a key was actually refused.
  • At most 64 X11 connections at a time per forward.
  • A forwarded agent kept with a session is only given back to the same user with the same restrictions.
  • One byte that is not UTF-8 in authorized_keys now spoils only its own line, as in sshd, not the whole file.
  • macOS: ~/.hushlogin and ~/.ssh/rc are checked as the user, not as root.
  • Windows: SFTP can set times on read-only files.

qsh

  • When a server only accepts the TLS key, qsh retries with your key only on a server with the key you already accepted.
  • Text from the server in qsh doctor and during pairing has control characters removed.
  • qsh multi no longer leaves remote commands running when its output breaks, and gets the right exit code when the config has ForkAfterAuthentication.
  • qsh copy-id works when the remote shell prints a banner, and no longer joins the key to a last line without a newline.
  • An interrupted download of a read-only file can be resumed.
  • qsh ui and known_hosts: files that cannot be read are no longer overwritten as empty, and lines that are not touched are kept byte for byte.
  • qsh ui: hosts from ~/.ssh/config can have their groups and transport changed again, and a failed save or delete puts the groups back.
  • After a reconnect, X11 forwarding now ends with a message instead of looking active.
  • ForwardX11Timeout 0 means no timeout, as in ssh.
  • Config files that are not valid UTF-8 are read instead of being treated as empty.

Update with qsh update, or install with:

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