[Bug]: SSH remote connection fails on Windows hosts - app-server requires a Unix-like remote host
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- backend-api-design, desktop
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 315
- Avg merge
- 3h 54m
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MiniMax-AI/minimax-code
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MiniMax-AI/minimax-code#639 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
MiniMax-AI/minimax-code#636 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MiniMax-AI/minimax-code#615 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
MiniMax-AI/minimax-code#556 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MiniMax-AI/minimax-code#507 ·
Maintainers usually reply within 1 day
All issues in MiniMax-AI/minimax-code
Similar issues
-
area:api bug good first issue priority:high
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Doezer/Questarr#1486 · 1 comment ·
Maintainers usually reply within 1 day
-
area:import difficulty:good-first good first issue help wanted priority:P1 roadmap size:S type:test
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Sergey-Bar/Penny#245 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mihazs/lazysh#3377 · 2 comments ·
Maintainers usually reply within 1 day
-
Approve the Cloudflare agent plugin for harness sessionsPossibly taken @joshtsch claimed this today. Openenhancement ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day