From 078766948e86af636f35360cf42581fd64740cf3 Mon Sep 17 00:00:00 2001 From: thesiti92 Date: Tue, 13 Oct 2026 14:38:54 -0400 Subject: [PATCH] Skip SSH remote hosts on Windows The control directory needs a uid, which Windows lacks, so starting the hosts manager threw at startup. Windows OpenSSH support comes later. --- .../code-oss/src/vs/review/electron-main/reviewDesktopHost.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/review-desktop/code-oss/src/vs/review/electron-main/reviewDesktopHost.ts b/apps/review-desktop/code-oss/src/vs/review/electron-main/reviewDesktopHost.ts index 73567f3f2..7f4657fef 100644 --- a/apps/review-desktop/code-oss/src/vs/review/electron-main/reviewDesktopHost.ts +++ b/apps/review-desktop/code-oss/src/vs/review/electron-main/reviewDesktopHost.ts @@ -356,7 +356,8 @@ export class ReviewDesktopHost extends Disposable { private startRemoteHosts( shellEnvironment: () => Promise, ): void { - if (this.disposed) return; + // SSH hosts need ControlMaster sockets, which Windows OpenSSH lacks. + if (this.disposed || process.platform === "win32") return; let version: Promise | undefined; const manager = new ReviewRemoteHosts({ spawn: (args, options) => spawn("ssh", args, options),