Skip to content

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 10:19
· 49 commits to main since this release

Settings you write but that would silently not apply are now refused or shown. Some configs that worked before now stop qsh or qshd with an error. Check before updating: qshd -t on servers, qsh -G host on clients.

Now an error: please read before updating

  • qshd: a setting written below a table header ([set_env], [subsystems]) instead of above it. Before, permit_root_login = "no" written there silently became an environment variable.
  • qshd: an empty [[match]] condition such as user = "". Before, it matched every login, root included.
  • qshd: a config file given with -c that does not exist, or a config that is gone on reload. Before, qshd ran on the defaults. On reload the old config now stays.
  • qshd: max-sources4:0 or max-sources6:0 in per_source_penalties.
  • qsh: a misspelled keyword in ~/.config/qsh/config, as in ssh ("Bad configuration option"). IgnoreUnknown still works. ~/.ssh/config is left to ssh.
  • qsh: a file pulled in with Include that other users can write, also from /etc/ssh/ssh_config, as in ssh. /etc/ssh/ssh_config itself is checked too.

qshd

  • qshd -t and the log name each [[match]] block that changes who may log in or how, for example [[match]] #2 (user = backup) changes password_authentication: false -> true. A setting that ended up inside a block by mistake shows right away.
  • qshd -t says which file it read. Without root that is the user-mode config, not /etc/qsh/config.toml.
  • Warnings for conditions that never match: a list of only ! entries (user = "!root") and host names in address.
  • qshd -T -C needs addr= when a rule tests the address, as in sshd.
  • The warning that passwords cannot work without root now also shows in qshd -t and after a reload.
  • session_scope is reported as needing a restart.

qsh

  • RefuseConnection works in config files. Before, only -o RefuseConnection was refused.
  • A refusal in ~/.config/qsh/config (RefuseConnection, RevokedHostKeys) also stops --full. ssh does not read that file, so before it connected without the check.
  • A proxy or refusal in a Match block qsh cannot check now also counts when it comes from a file the block includes.
  • Hosts saved in qsh ui no longer override a block in ~/.ssh/config that names the same host. They still win over blocks for many hosts such as Host *.
  • qsh -G shows the security settings too (host key checking, passwords, agent and X11 forwarding...), with -A, -t and --accept-new-host applied.
  • An ssh keyword in ~/.config/qsh/config that qsh does not carry out gives a warning with file and line (not with -q).

Update with qsh update, or install with:

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