0.8.1 — 2026-05-20
Release Notes
Windows hotfix over v0.8.0 — fixes a long-running silent data loss
in the add-host form. No behavior change on macOS / Linux.
Fixed
-
Manage-mode
a(add host) silently wrote an emptysshc.confon
Windows when the user directory had non-ASCII characters in its
path (e.g.C:\Users\사자). The form looked like it submitted —
modal closed, no error message — but the new host never appeared
in the list, and the on-disksshc.confended up empty. The
symptom traces back topersist_sshc_confinsrc/app/forms.rs:
it filtered which in-memory hosts to serialize by comparing
host.source_fileagainst a freshly recomputed
crate::storage::sshc_conf_path(). Thesource_filefield was
set at host-build time from the App::new-cached copy, so on
Windows the twoPathBufs could differ in normalization (NFC vs
NFD on the home-directory component) even though the underlying
bytes were equivalent. The filter then matched zero rows and the
serializer wrote an empty file.This was actually present since v0.7-era (when manage mode add
first landed), but only Windows users with non-ASCII paths could
trigger it; v0.7.2 (backslash) and v0.7.3 (rename lock) fixes
cleared the visible failures one step earlier in the pipeline,
so the data-loss path stayed hidden until v0.8.Fix:
persist_sshc_confnow uses the cachedself.sshc_conf_path
for both the filter predicate and the write target, so the two
comparisons sit on the samePathBufinstance regardless of
platform normalization quirks.
Install sshc 0.8.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hang-in/sshc/releases/download/v0.8.1/sshc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/hang-in/sshc/releases/download/v0.8.1/sshc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install hang-in/tap/sshcDownload sshc 0.8.1
| File | Platform | Checksum |
|---|---|---|
| sshc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| sshc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| sshc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| sshc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| sshc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |