From d93d9a3e26d2b902af10f9f7146c5d76e412ab91 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Mon, 25 May 2026 21:39:51 +0200 Subject: [PATCH] docs+ui: surface SSH context for remote_services (closes #409) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Migration guide: expand the one-liner after SSH setup into a concrete 'To disable SSH' section covering both the USB-stick and persistent-file cases, with the button name and CLI command. Admin UI: - Preconditions label: 'remote_services' → 'SSH (remote_services)' with a tooltip explaining the connection - Buttons: 'Enable/Remove Persistent Remote Services' → 'Enable SSH (Persist remote_services)' / 'Disable SSH (Remove remote_services)' - Confirm dialog: mentions SSH and reboot requirement explicitly - Verdict text: all three states now lead with 'SSH ...' so users recognise what the check controls Co-Authored-By: Claude Sonnet 4.6 --- docs/content/docs/guides/MIGRATION-GUIDE.md | 9 +++++++++ pkg/service/handlers/web/index.html | 7 ++++--- pkg/service/handlers/web/js/script.js | 9 +++++---- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/docs/content/docs/guides/MIGRATION-GUIDE.md b/docs/content/docs/guides/MIGRATION-GUIDE.md index 1a6e211..6dde814 100644 --- a/docs/content/docs/guides/MIGRATION-GUIDE.md +++ b/docs/content/docs/guides/MIGRATION-GUIDE.md @@ -132,6 +132,15 @@ The XML migration writes updated configuration to the speaker's filesystem, whic You only need to do this once per speaker. SSH can remain enabled for future maintenance or be disabled after migration — your choice. +**To disable SSH after migration:** + +- **USB stick only (no persistent file written):** remove the stick and reboot the speaker — SSH will not be available after the next boot. +- **Persistent `remote_services` file** (written automatically during XML migration): remove it via the admin UI → *Migrate* tab → **Disable SSH (Remove remote_services)** button, then reboot. Or via the CLI: + ```shell + soundtouch-cli --host setup remote-services --remove + ``` + Then reboot the speaker for the change to take effect. + ### Telnet:17000 (fallback when SSH isn't possible) If the USB-stick unlock doesn't work on your speaker (some firmware revisions refuse it — notably SA-5, ST520, and recent ST Portables), the wizard falls back to the speaker's **built-in diagnostic shell on TCP port 17000**. No setup required — most SoundTouch firmware exposes it automatically. The wizard detects which transports are available and picks the right one; you don't have to choose manually. diff --git a/pkg/service/handlers/web/index.html b/pkg/service/handlers/web/index.html index 5e7dd3d..9d807e6 100644 --- a/pkg/service/handlers/web/index.html +++ b/pkg/service/handlers/web/index.html @@ -589,7 +589,7 @@ - + @@ -1099,10 +1099,11 @@ padding: 10px 20px; " > - Enable Persistent Remote Services + Enable SSH (Persist remote_services)
remote_servicesSSH (remote_services)