[Bug]: SSH remote connection fails on Windows hosts - app-server requires a Unix-like remote host
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend-api-design, desktop
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 315
- Merge trung bình
- 3 giờ 54 phút
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MiniMax-AI/minimax-code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MiniMax-AI/minimax-code#639 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
MiniMax-AI/minimax-code#636 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MiniMax-AI/minimax-code#615 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
MiniMax-AI/minimax-code#556 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MiniMax-AI/minimax-code#507 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của MiniMax-AI/minimax-code
Issue tương tự
-
Blocklist addition requestĐang mởblocklist addition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
MetaMask/eth-phishing-detect#319194 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
continuedev/continue#13533 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug codex:automation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
genfeedai/genfeed.ai#12060 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bounty good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fitzss/valun-open#15 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày