# SSH gssapi-keyex-first desktop reproduction

Both sides: Linux desktop, real Electron app built from its own checkout with
`vp i` followed by `vp run --filter @t3tools/desktop build`. Run with
`headless-desktop`, an unlocked keyring, `--no-sandbox --disable-gpu`, a 1440x1000
window, default light theme, and a new T3CODE_HOME and XDG_CONFIG_HOME on every run.
No copied database, provider account, or seeded projects/threads.

Fixture: a synthetic account `t3repro` with a nonempty password, and OpenSSH sshd
listening on 127.0.0.1:22611 with these options (supply a generated host key and
an isolated PID file):

```
Port 22611
ListenAddress 127.0.0.1
PubkeyAuthentication no
GSSAPIAuthentication yes
GSSAPIKeyExchange yes
PasswordAuthentication yes
KbdInteractiveAuthentication no
UsePAM no
AllowUsers t3repro
StrictModes no
```

Trust the fixture host key before the UI run. Confirm with:

```
ssh -o BatchMode=yes -p 22611 t3repro@127.0.0.1 true
```

Observed stderr on this fixture:
`Permission denied (gssapi-keyex,gssapi-with-mic,password).`
A separate real SSH command with PreferredAuthentications=password and the
fixture password exited 0, confirming password login works.

Drive each commit with the same `capture.cjs`:

```
headless-desktop node capture.cjs <checkout> <output-parent> <before|after>
```

The driver completes first-run setup without importing history, opens Settings →
Environments → List → Add environment → SSH, fills host 127.0.0.1, username
t3repro and port 22611, then clicks Add environment. Recording starts after
first-run setup; all visible data is synthetic. Tab moves focus off the password
field before the final capture. The still is saved only after two native RGB
screenshots 500 ms apart are byte-identical. No CSS or application code changes.
The recording uses the same viewport and interaction on both sides.

Base 7be3a767cc0f4de7d3066fb386bbf64893584e91: raw red preparation error,
Permission denied (gssapi-keyex,gssapi-with-mic,password), no password prompt.
Head cc89d7a49de04713c8afb1cb42ff035abd0ade5c: SSH verification required dialog,
password input, Cancel and Continue controls.

Scope: proves offering the password prompt; it does not claim successful T3
remote provisioning or exercise the tunnel ControlMaster fallback.
