Code tab SSH remote session feature is broken.

Resolved 💬 3 comments Opened Mar 21, 2026 by brammb Closed Jun 12, 2026

Bug Description

The Code tab SSH remote session feature is broken. After connecting to a remote Linux VPS via SSH, sending any prompt causes ccd-cli to crash immediately with exit code 1. The session either hangs silently or disconnects.

Environment

  • Claude Desktop version: 1.1.7714 (3bd6f6) — 2026-03-19
  • Mac OS: macOS (Apple Silicon / x86 — Mac)
  • Remote server OS: Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-106-generic x86_64)
  • Remote user: root
  • Connection: SSH via Claude Desktop Code tab
  • ccd-cli version: 2.1.78 (dated 2026-03-18)
  • server binary date: 2026-03-21

Steps to Reproduce

  1. Open Claude Desktop → Code tab
  2. Connect to a remote Ubuntu 24.04 VPS via SSH
  3. Type any prompt and press Enter
  4. Observe: no response, connection drops or hangs silently

What Happens

The ccd-cli process is spawned by the remote server but crashes immediately with exit code 1. Running ccd-cli manually on the VPS confirms the error:

$ /root/.claude/remote/ccd-cli 2>&1
Error: Input must be provided either through stdin or as a prompt argument when using --print

The remote server log shows the full crash sequence:

2026/03/21 16:40:14 [process.Manager] Process started, command=/root/.claude/remote/ccd-cli
2026/03/21 16:40:14 [process.Manager] WriteStdin: wrote 204 bytes ... err=<nil>
2026/03/21 16:40:15 [process.Manager] Read 93 bytes from stderr
2026/03/21 16:40:15 [process.Manager] stdout EOF
2026/03/21 16:40:15 [process.Manager] stderr EOF
2026/03/21 16:40:15 [process.Manager] Process exited with code 1

The server writes 204 bytes to stdin successfully, but ccd-cli still exits with the "no stdin" error. This suggests ccd-cli is not reading from the pipe that the server is writing to.

What I've Tried

  • Restarted the Claude Mac app (Cmd+Q + reopen)
  • Killed all remote server processes (pkill -f claude/remote/server) and reconnected
  • Deleted ccd-cli and ccd-cli-version from /root/.claude/remote/ to force a fresh push — new binary was pushed but same version (2.1.78) and same error
  • Reinstalled the Claude Mac app from scratch via https://claude.ai/download
  • Verified the VPS can reach api.anthropic.com (returns HTTP 404 as expected)
  • Verified system resources are healthy (low load, 31% memory usage)
  • Verified all shared libraries load correctly (ldd shows no missing dependencies)

Nothing resolves the issue. The SSH Code tab was working correctly prior to approximately 2026-03-19.

Additional Notes

The server binary on the VPS is dated 2026-03-21 while ccd-cli is dated 2026-03-18, suggesting a possible mismatch between the two binaries introduced by a recent update. Even after forcing a fresh push of ccd-cli, the version remains 2.1.78 and the crash persists.

This may be related to the recently fixed issue: "Fixed claude -p hanging when spawned as a subprocess without explicit stdin" — but the fix does not appear to be included in the current Desktop app release.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗