Skip to content

sshtune 0.2.1

Latest

Choose a tag to compare

@mfat mfat released this 02 Dec 21:00

First stable release. Packages: deb (Ubuntu 24.04+, Debian 13), rpm (Fedora 44+), AppImage, macOS (.dmg, Apple silicon and Intel) and Windows (installer and portable zip), all built from the same commit before this release was made. The macOS and Windows builds are tested in CI, not yet on people's own machines. Requirements and tested systems are in the README.

The application is 0.2.0's, released as stable. Since 0.1.0:

Where a value comes from is OpenSSH's own answer

OpenSSH reports the values it settles on, not the lines they come from. sshtune used to work that out with rules written from OpenSSH's documentation, and some were wrong in places the documentation does not cover. Now the copy OpenSSH reads gives each line a distinct value, so OpenSSH's answer names the line it used (for most options; yes/no options, Hostname and User still follow rules, which are tested against OpenSSH). Where OpenSSH versions differ (ProxyJump none before a ProxyCommand is used on 9.6 and 10.2, not on macOS's 9.9), sshtune follows the one installed.

Fixes: lines shown as used that OpenSSH does not use, or the reverse

  • SetEnv and PermitRemoteOpen: only the first line counts, not every line.
  • ProxyJump none and a later ProxyCommand: as the installed OpenSSH decides.
  • StreamLocalBindMask takes the last line; SyslogFacility is read even from blocks that do not apply.
  • Old spellings (PubkeyAcceptedKeyTypes, IdentityFile2, SetupTimeout, Fedora's RSAMinSize…) are the options they stand for, as the installed OpenSSH reads them.
  • Options OpenSSH no longer supports (UseRoaming, Cipher…) are shown Ignored instead of applied.
  • A repeated identity file or forward is used once, as OpenSSH uses it.
  • Blocks in included files and the system-wide file: whether they apply is OpenSSH's answer, not a guess.
  • The system-wide file's relative Include is read from /etc/ssh, not ~/.ssh.
  • A configuration that includes itself: the preview shows the error OpenSSH will give once saved.

Tested against OpenSSH

A conformance suite checks sshtune against OpenSSH itself: sample configurations saved for real in a sandbox, generated configurations and edit sequences, every option the installed OpenSSH knows, and the window's Effective page row by row. It runs nightly on Ubuntu 24.04 (OpenSSH 9.6), Debian 13 (10.0), Fedora (10.2) and Arch (10.6). The test suite passes on Linux, macOS and Windows.