From ec2422bc3eaa29ad15bec3a97957377b5ae7f888 Mon Sep 17 00:00:00 2001 From: DuProcess <273172371+DuProcess@users.noreply.github.com> Date: Sat, 20 Jun 2026 17:49:48 -0400 Subject: [PATCH] Remove personal host aliases from defaults --- README.md | 22 ++++++++++++---------- docs/PUBLIC_READINESS.md | 8 ++++---- docs/RELEASE_EVIDENCE_2026-06-20.md | 9 ++++++--- install.sh | 6 +++--- llms.txt | 2 +- src/bin/dosh-client.rs | 26 +++++++++++++------------- src/native.rs | 20 ++++++++++---------- src/ssh_agent.rs | 4 ++-- 8 files changed, 51 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 1d04eb7..fcff91b 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ Install the client on macOS: ```bash curl -fsSL https://git.palav.dev/Palav/dosh/raw/branch/main/install.sh \ - | DOSH_REPO=https://git.palav.dev/Palav/dosh.git DOSH_SERVER=palav DOSH_HOST=git.palav.dev DOSH_PORT=50000 sh -s -- client + | DOSH_REPO=https://git.palav.dev/Palav/dosh.git DOSH_PORT=50000 sh -s -- client ``` Update an installed client later: @@ -130,21 +130,22 @@ verifies the archive before installing it. Install the client on Windows PowerShell: ```powershell -$env:DOSH_REPO="https://git.palav.dev/Palav/dosh.git"; $env:DOSH_SERVER="palav"; $env:DOSH_HOST="git.palav.dev"; $env:DOSH_PORT="50000"; irm https://git.palav.dev/Palav/dosh/raw/branch/main/install.ps1 | iex +$env:DOSH_REPO="https://git.palav.dev/Palav/dosh.git"; $env:DOSH_PORT="50000"; irm https://git.palav.dev/Palav/dosh/raw/branch/main/install.ps1 | iex ``` Attach: ```bash -dosh palav +dosh user@server.example.com ``` -Plain `dosh palav` opens a fresh terminal session. Use named sessions when you want -to reattach to the same persistent terminal from multiple clients: +Plain `dosh user@server.example.com` opens a fresh terminal session. Use named +sessions when you want to reattach to the same persistent terminal from multiple +clients: ```bash -dosh --session work palav -dosh --session logs palav +dosh --session work user@server.example.com +dosh --session logs user@server.example.com ``` Press `Ctrl-]` to detach the current client while leaving the server session alive. @@ -170,7 +171,8 @@ UDP host from an SSH alias when `dosh_host` is not configured. To make that expl in Dosh's host config: ```bash -dosh import-ssh palav homelab +dosh import-ssh homelab +dosh homelab ``` Optional command extensions are just config-side startup shortcuts; Dosh has no @@ -184,12 +186,12 @@ command = "tm {args}" description = "Open the server-side tmux dashboard" ``` -Then `dosh palav tm` sends `tm`, and `dosh palav tm dosh` sends `tm 'dosh'`. +Then `dosh homelab tm` sends `tm`, and `dosh homelab tm dosh` sends `tm 'dosh'`. Remove that table to remove the integration. Hosts can override or opt out: ```toml # ~/.config/dosh/hosts.toml -[palav.extensions.tm] +[homelab.extensions.tm] command = "/opt/tm/bin/tm {args}" [other-host.extensions.tm] diff --git a/docs/PUBLIC_READINESS.md b/docs/PUBLIC_READINESS.md index 3fadb2f..14091a6 100644 --- a/docs/PUBLIC_READINESS.md +++ b/docs/PUBLIC_READINESS.md @@ -95,7 +95,7 @@ Dosh also calls `ssh -G ` to infer the UDP target host when no `dosh_host configured. To write explicit Dosh host entries from SSH aliases: ```bash -dosh import-ssh palav homelab +dosh import-ssh homelab ``` This appends entries to `~/.config/dosh/hosts.toml` without trying to become an @@ -112,12 +112,12 @@ command = "tm {args}" description = "Open the server-side tmux dashboard" ``` -With that config, `dosh palav tm` runs `tm` in the remote Dosh shell and -`dosh palav tm dosh` runs `tm 'dosh'`. Removing the table removes the integration. +With that config, `dosh homelab tm` runs `tm` in the remote Dosh shell and +`dosh homelab tm dosh` runs `tm 'dosh'`. Removing the table removes the integration. Host config can override a global extension, or disable it: ```toml -[palav.extensions.tm] +[homelab.extensions.tm] command = "/opt/tm/bin/tm {args}" [other-host.extensions.tm] diff --git a/docs/RELEASE_EVIDENCE_2026-06-20.md b/docs/RELEASE_EVIDENCE_2026-06-20.md index 764c7ea..f2d918f 100644 --- a/docs/RELEASE_EVIDENCE_2026-06-20.md +++ b/docs/RELEASE_EVIDENCE_2026-06-20.md @@ -1,6 +1,9 @@ # Dosh Release Evidence - 2026-06-20 -Code benchmarked: `b44ff8e Improve release and benchmark tooling` +Runtime code benchmarked: `b44ff8e Improve release and benchmark tooling` + +Release docs/default cleanup after that benchmark removed personal host aliases from +public examples and test fixtures; it did not change release runtime paths. Environment: @@ -21,8 +24,8 @@ Artifacts: | artifact | sha256 | | --- | --- | -| `dosh-linux-x86_64.tar.gz` | `f421ee56aac61892c9e152d2ef018cf95eb35dec2ca1b2b5cc82eeb1fcc12911` | -| `dosh-0.1.0-linux-x86_64.tar.gz` | `f421ee56aac61892c9e152d2ef018cf95eb35dec2ca1b2b5cc82eeb1fcc12911` | +| `dosh-linux-x86_64.tar.gz` | `cd77264d160fb87c6fd51009a6fbe826c9d2c00b23a57b4b3b98433af5a06b65` | +| `dosh-0.1.0-linux-x86_64.tar.gz` | `cd77264d160fb87c6fd51009a6fbe826c9d2c00b23a57b4b3b98433af5a06b65` | The installer verifies `.sha256` when the sidecar is published. diff --git a/install.sh b/install.sh index 0f765f9..ecbfb9a 100755 --- a/install.sh +++ b/install.sh @@ -482,9 +482,9 @@ EOF fi cat >"$hosts_config" <