# SSH known_hosts port proof

Linux Electron, OpenSSH, headless-desktop (Xvfb), light theme, 1280×900.
Each revision has its own freshly created T3 home and identical synthetic known_hosts.

1. Install dependencies with `vp i`; install the Electron runtime with `node node_modules/electron/install.js` from apps/desktop.
2. Build each checkout with `vp run --filter @t3tools/desktop build:bundle`.
3. Put these scripts in one empty evidence directory; run `node seed.cjs`.
4. Run one revision at a time: `headless-desktop node launch.cjs <absolute-checkout> <base|head>`.
5. Finish onboarding with **Start without an agent**; navigate to `t3code://app/#/settings/connections`.
6. In another terminal run `node capture.cjs <absolute-checkout> <base|head>`.
   This reloads Settings, opens Add environment → SSH → host suggestions, captures the list,
   selects the first IPv4 suggestion, waits for the actual SSH attempt to finish, and captures its error.
   Every still requires identical screenshot buffers 500 ms apart. ffmpeg records the same interaction.
7. Stop the Electron PID saved by launch.cjs before starting the other revision.

Expected observation: base merges the two IPv4 port entries, displays two suggestions, and invokes SSH on port 22.
Head displays all three suggestions and selecting the first IPv4 suggestion invokes SSH on port 2222.
The synthetic endpoints time out; their error messages expose the actual attempted port.

AI-assisted; verified with the tests and tools listed above.
