Enable SSH compression by default with per-host control - #255
Conversation
roborev: Combined Review (
|
roborev: Combined Review (
|
- Honor `Compression yes` from the user's SSH configuration when opening managed connections. Previously kwt dropped the option, preventing text-heavy sessions from reducing traffic on slow links. Compression remains opt-in and takes effect on new connections. - Advertise execution policy `kwt.openssh.projection.v2`; consumers that validate the policy must update with their bundled helper. Retain the deprecated Go constant `SSHProjectionPolicyV1` with its original value so existing imports compile; newly resolved routes still use v2. - Check both `Compression yes` and `Compression no` by evaluating a temporary configuration with real OpenSSH and replaying kwt's generated arguments. This enables a congestion mitigation; it does not establish that all terminal lag is resolved. - Companion application update: kenn-io/ghosthub#255. Merge kwt first, then update Ghosthub's pin to the merged revision. Co-authored-by: Wes McKinney <wesm@users.noreply.github.com>
roborev: Combined Review (
|
- Let applications choose SSH compression without editing the user's SSH configuration. `kwt ssh resolve`, `lease`, `exec`, and `copy` accept `--compression=yes|no`; the Go API accepts an optional `Compression` value. Omitting it preserves OpenSSH configuration. - Apply overrides only to the destination. Preserve the choice through lease revalidation and include its effective value in connection identity; jump hosts keep their own settings. Isolated tests exercise real OpenSSH with both overrides against opposite configuration values. - Companion: [Ghosthub #255](kenn-io/ghosthub#255) enables compression by default with a per-host setting. **Merge kwt first, then repin Ghosthub to the merged revision.** Compression can reduce output congestion; real-workload latency still needs a trial. Co-authored-by: Wes McKinney <wesm@users.noreply.github.com>
roborev: Combined Review (
|
Text-heavy remote sessions can congest a shared SSH connection. Enable compression by default and let each host opt out in Settings without requiring changes to the user's OpenSSH configuration. Keep that choice consistent across attachments and background commands while preserving project-removal safeguards for the same machine. - Include browser authentication in the compression helper pin - Pin the helper that retains the SSH v1 API identifier - Enable SSH compression from per-host settings - Pin the merged SSH compression helper Generated with Codex Co-authored-by: Codex <noreply@openai.com>
8ee60a1 to
3914634
Compare
roborev: Combined Review (
|
|
invalid |
~/.ssh/config.