Commit d6332ba
fix(agent): Windows installer download uses a throwaway known_hosts, not NUL
The internal plug.exe download also passed UserKnownHostsFile=NUL. From Git Bash that NUL is a literal file (not the null device), so a recreated agent's changed host key clashed with a stale one and the download failed. Use a unique temp known_hosts file per run — a real path both native and MSYS/Git ssh honour — removed afterwards. No clash, no shell dependency.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent fabeaab commit d6332ba
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | | - | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| 116 | + | |
112 | 117 | | |
113 | 118 | | |
114 | 119 | | |
| |||
0 commit comments