return;
}
const { stdout: unameS } = await sshExec(sshClient!, 'uname -s');
sshRemoteAgentHostService.ts
const { stdout: unameM } = await sshExec(sshClient!, 'uname -m');
const platform = resolveRemotePlatform(unameS, unameM);
if (!platform) {
throw new Error(`${LOG_PREFIX} Unsupported remote platform: ${unameS.trim()} ${unameM.trim()}`);
}
this._logService.info(`${LOG_PREFIX} Remote platform: ${platform.os}-${platform.arch}`);
sshRemoteAgentHostService.ts
reportProgress(localize('sshProgressInstallingCLI', "Checking remote CLI installation..."));
cliBin = await this._ensureCLIInstalled(sshClient!, platform, reportProgress);
};