[Bug]: SSH remote connection fails on Windows hosts - app-server requires a Unix-like remote host
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- backend-api-design, desktop
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 2.3k
- Forks
- 315
- Merge médio
- 3h 54min
- PRs com merge (30d)
- 9
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de MiniMax-AI/minimax-code
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
MiniMax-AI/minimax-code#639 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
MiniMax-AI/minimax-code#636 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
MiniMax-AI/minimax-code#615 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
MiniMax-AI/minimax-code#556 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
MiniMax-AI/minimax-code#507 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de MiniMax-AI/minimax-code
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
Make the "%" unit spacing the same in the web and in A10Talvez já em andamento @kragent66-glitch assumiu hoje. Abertabug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 comentário ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
nextcloud-libraries/nextcloud-dialogs#2772 ·
Mantenedores costumam responder em até 1 dia
-
Editor: leave an uploaded or inserted image's alt text empty, so the preview asks for a descriptionAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 65/100
sveltejs/svelte.dev#2417 ·
Mantenedores costumam responder em até 1 dia