You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: diagnose unusable python3 on native Windows SSH destinations #151
An authenticated macOS-to-native-Windows OpenSSH session-peer list --host USER@HOST --output-format json fails with only error: "USER@HOST: Python" when python3.exe resolves to the Windows Store execution alias. Working Python 3.10 is available as python.exe; local Windows list successfully discovers both Claude and Codex.
Reproduction: install CPython as python, leave the WindowsApps python3 alias on PATH, establish a valid SSH connection, then run remote list from macOS. Plain SSH whoami and python --version succeed; python3 --version emits only Python in this environment. No messages were submitted by the failing list operation.
session_peer_core/ssh.py:run_remote unconditionally executes python3 - and uses POSIX shlex.quote. The current failure does not explain the missing usable interpreter or native-Windows SSH boundary. Full native Windows SSH shell compatibility is not established by this result.
Expected: either resolve a supported remote Python/shell explicitly, or fail with an actionable diagnostic identifying the interpreter prerequisite and supported Windows/WSL route. Clarify the support matrix so native local CLI support is not mistaken for every inbound SSH shell being supported.
Acceptance: deterministic coverage for Store alias/non-working python3, usable-python prerequisite diagnostics, retained POSIX SSH argument safety, and a native Windows host validation if support is extended. Any runtime change requires RC2; do not silently rewrite SSH settings or disable the Store alias.
Environment: macOS arm64 sender, session-peer 1.0.0rc1; Windows native OpenSSH, Python 3.10.0, Claude Code 2.1.278; initial Windows package 0.9.1 (irrelevant to source-streamed remote execution). Secrets and addresses omitted.
Candidate now returns an actionable remoteRuntimeFailure=python3_unavailable_or_unsupported_shell on the actual native Windows SSH destination, replacing the previous bare "Python" error. It explicitly requires working python3 plus a POSIX-compatible remote shell, identifies Store aliases as insufficient, and recommends the native local CLI or a WSL SSH endpoint. No SSH settings, aliases or installed runtimes were changed; no automatic fallback/resend. Three deterministic regression tests pass, including preservation of SSH-auth failure precedence. This is a diagnosis fix, not a claim of native Windows SSH shell support. Included in stable 0.9.2 and RC forward-fix candidates.
2026-09-24 stable preflight: one read-only macOS→native-Windows SSH list attempt against the currently authenticated host reproduced the Windows Store python3 alias prerequisite. Plain python3 --version returned only "Python" (exit 49). session-peer 1.0.0 preparation source returned ok=false and remoteRuntimeFailure=python3_unavailable_or_unsupported_shell with actionable guidance to use a working python3 + POSIX-compatible remote shell, native local CLI, or WSL SSH endpoint. No message was submitted, no fallback or resend, and no SSH/Windows settings were changed. This verifies the issue’s diagnostic acceptance, not native Windows SSH shell support. The fix shipped in stable 0.9.2 and was carried into v1.0.0 candidates.
Activity
abruption commentedon Sep 22, 2026
Candidate now returns an actionable remoteRuntimeFailure=python3_unavailable_or_unsupported_shell on the actual native Windows SSH destination, replacing the previous bare "Python" error. It explicitly requires working python3 plus a POSIX-compatible remote shell, identifies Store aliases as insufficient, and recommends the native local CLI or a WSL SSH endpoint. No SSH settings, aliases or installed runtimes were changed; no automatic fallback/resend. Three deterministic regression tests pass, including preservation of SSH-auth failure precedence. This is a diagnosis fix, not a claim of native Windows SSH shell support. Included in stable 0.9.2 and RC forward-fix candidates.
abruption commentedon Sep 24, 2026
2026-09-24 stable preflight: one read-only macOS→native-Windows SSH list attempt against the currently authenticated host reproduced the Windows Store python3 alias prerequisite. Plain python3 --version returned only "Python" (exit 49). session-peer 1.0.0 preparation source returned ok=false and remoteRuntimeFailure=python3_unavailable_or_unsupported_shell with actionable guidance to use a working python3 + POSIX-compatible remote shell, native local CLI, or WSL SSH endpoint. No message was submitted, no fallback or resend, and no SSH/Windows settings were changed. This verifies the issue’s diagnostic acceptance, not native Windows SSH shell support. The fix shipped in stable 0.9.2 and was carried into v1.0.0 candidates.