Commit 8f67b2e
fix(ssh): try Pageant when the Windows named-pipe agent is reachable but keyless
Review fix (network-engineer, bug-bot): the Windows fallback returned as soon as
the OpenSSH named-pipe agent *connected*, even on Ok(false) — so if that agent is
running but empty (common; other tools auto-start it) and the user's key lives in
Pageant, Pageant was never tried and auth failed. Now only a real success
(Ok(true)) short-circuits; a reachable-but-keyless pipe (or a mid-auth error)
falls through to Pageant.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent cb96189 commit 8f67b2e
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
313 | 317 | | |
314 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
315 | 321 | | |
316 | | - | |
| 322 | + | |
| 323 | + | |
317 | 324 | | |
318 | 325 | | |
319 | 326 | | |
| |||
0 commit comments