[Bug]: SSH remote connection fails on Windows hosts - app-server requires a Unix-like remote host
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Start by tracing how Desktop SSH connections install the remote CLI and launch the remote app-server; the issue does not name source files or tests. Check how the existing flow handles Unix-like hosts and where it reports remote startup failures. Done means Windows remotes either work through installation and app-server startup, or receive a clear unsupported-host message; the issue leaves support status and scope for maintainers to decide.
由索引模型根据 Issue 内容生成。
描述
Product or interface
Desktop app
Version
- Desktop app (client): 3.1.16 (macOS)
- Remote CLI
@minimax-ai/code: 0.7.7 (Windows x64, installed manually viainstall.ps1) - Remote CLI installed via the official Windows installer is reported as 0.7.7
Platform
Multiple platforms
OS version and architecture
- Remote host: Windows 11,
Microsoft Windows NT 10.0.26100.0, x64 - Client: macOS 15.7.7, arm64
Issue area
Startup / install / update
Steps to reproduce
- Install MiniMax Code Desktop on a macOS machine.
- Open Settings → Connections → SSH → Add, and pick a host entry that points at a Windows machine over SSH (host
192.168.5.x, port 22, identity file~/.ssh/<key>). The host entry is read from~/.ssh/config. - The connection is saved and enabled, but the host stays in a failed state with: "Remote MCode installation failed. Please check the developer machine network and retry."
- Click Install MCode on that host entry. The remote installer fails again, and the remote machine gets a new log file under
~/.minimax-code-install-logs/install-*.log. - Install the CLI on the Windows host manually instead:
This succeeds andirm https://filecdn.minimax.chat/public/install.ps1 | iexmcode --versionreports0.7.7. - With the CLI present, the Desktop app still cannot connect. The app-server it needs on the remote host refuses to start on Windows (see the error summary below).
Expected and actual behavior
Expected: A Windows machine reachable over SSH can be registered as an SSH remote host in Settings → Connections → SSH, and the Desktop app can drive the MiniMax Code runtime installed there — the same way a Linux host works today.
Actual: Two independent Windows-specific failures block this:
-
The Desktop remote installer runs the Unix installer on Windows. It executes
install.shon the Windows host, and that script rejects the platform:==> [1/5] Checking platform and install location error: Windows is not supported by install.sh; run the install.ps1 command in PowerShell.The official
install.ps1works correctly when run manually in PowerShell on the same host. -
The remote app-server refuses to start on a Windows host. Even after the CLI is installed correctly, the app-server the Desktop app needs to connect to is rejected:
mcode app-server daemon bootstrap --auth-mode remote-oauth {"action":"bootstrap","error":{"code":"appServerDaemonCommandFailed", "message":"The app-server daemon requires a Unix-like remote host.", "recommendedAction":"inspectRemoteLogs"}}mcode app-server --listen unix://<path> --foreground The app-server Unix transport requires a Unix-like remote host.Both the daemon path and the direct
--listen unix://path are refused, so this is not a configuration problem — the Windows host cannot host the app-server at all.
Redacted error summary
# Desktop side (macOS client), Settings -> Connections -> SSH
[info] [SshRuntime] connection failed: The remote CLI path could not be discovered.
[info] [SshRecovery] {"hostId":"<windows-host>","state":"action_required","phase":"stopped",
"code":"remote_mcode_not_found","disposition":"action_required"}
# Windows remote host, Desktop "Install MCode" action
[mcode-install] operationId=manual-<id> stage=1
==> [1/5] Checking platform and install location
error: Windows is not supported by install.sh; run the install.ps1 command in PowerShell.
[mcode-install] operationId=manual-<id> stage=1 exitCode=1
# Windows remote host, manual CLI install -> succeeds
> irm https://filecdn.minimax.chat/public/install.ps1 | iex
... Installation complete: @minimax-ai/[email protected] (fresh)
> mcode --version
0.7.7
# Windows remote host, app-server bootstrap (the blocker)
> mcode app-server daemon bootstrap --auth-mode remote-oauth
{"action":"bootstrap","error":{"code":"appServerDaemonCommandFailed",
"message":"The app-server daemon requires a Unix-like remote host.",
"recommendedAction":"inspectRemoteLogs"}}
> mcode app-server --listen unix://<path> --foreground
The app-server Unix transport requires a Unix-like remote host.
Screenshots
The Settings → Connections → SSH editor for the Windows host is filled in correctly (host 192.168.5.x, port 22, identity file ~/.ssh/<key>), and the host entry shows the "Remote MCode installation failed" state. Screenshot can be provided on request.
Additional notes
- The SSH connection configuration itself is correct, and plain SSH to the same host works fine (
mcode --versionreturns0.7.7over a normal SSH session). - The CLI on Windows is fully functional for headless use:
mcode exec "..."runs successfully on the Windows host and returns a proper result. Only the Desktop-to-remote app-server transport is affected. - Related existing issues: #545 (slow hosts / stale socket) and #546 (remote app-server footprint). Both discuss Linux remotes only; neither covers a Windows remote host.
- Searched this repository for existing reports: there is no issue or feature request about Windows as an SSH remote host — all Windows reports are about Windows as a client.
Before submitting
- I have searched existing issues.
- I have included my version and removed sensitive information.
Question for the maintainers
Is Windows supported (or planned) as an SSH remote host for the Desktop app? If it is not, could the Desktop app either:
- detect a Windows remote host and run
install.ps1instead ofinstall.sh, and - surface a clear "Windows remotes are not supported yet" message instead of the current generic installation failure?
Documenting the current limitation in the Connections settings page would also help — currently the SSH remote feature has no documentation page, and the only platform guidance I could find is in the changelog.
Thanks for taking a look.
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 315
- 平均合并
- 3 小时 54 分钟
- 30 天内合并 PR
- 9
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MiniMax-AI/minimax-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
MiniMax-AI/minimax-code#639 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
MiniMax-AI/minimax-code#636 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
MiniMax-AI/minimax-code#615 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
MiniMax-AI/minimax-code#556 · 4 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
MiniMax-AI/minimax-code#507 ·
维护者通常 1 天内回复
查看 MiniMax-AI/minimax-code 的全部 Issue
相似的 Issue
-
blocklist addition
难度 1/5 1 小时以内 新手友好度 76/100
MetaMask/eth-phishing-detect#319194 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
continuedev/continue#13533 · 1 条评论 ·
维护者通常 6 天内回复
-
bug codex:automation
难度 2/5 1-3 小时 新手友好度 76/100
genfeedai/genfeed.ai#12060 ·
维护者通常 1 天内回复
-
bounty good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
fitzss/valun-open#15 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复