Skip to content

v2.1.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 09:35
· 4 commits to main since this release

A fix release: one terminal annoyance and a few server-side issues from a review.

Terminal

  • After a session ends, the local shell no longer prints junk like <35;176;2M or [?61;4;6;7c. Those were mouse reports and the terminal's answers to the remote shell's last questions (fish asks for the cursor position and background color). On exit qsh now asks the terminal for its status and takes in everything that comes before the answer. Keys you type after that still reach your shell. Linux and macOS only.

Fixed

  • Pairing: two tries at the same moment now use up two of the code's three tries, not one.
  • A -N session that was left longer than session_timeout can no longer be resumed.
  • One-time codes: a slow or stuck file system in one user's home no longer holds up the one-time code logins of other users.
  • Failed logins no longer walk the whole penalty table each time.
  • internal-sftp answers pipelined requests in one write instead of one per reply, and a handle of the wrong length is treated as a malformed request.
  • Windows: host names with % or ^ are refused, because they reach cmd /C in Match exec and similar commands. A % in an IPv6 zone (fe80::1%12) still works.
  • The qshd config template now says correctly that port forwards and the agent keep working after totp_valid_for runs out.

Upgrading

2.1.1 connects to 2.0 and 2.1. The terminal and Windows fixes are in qsh, the rest in qshd.