GUI SSH "Add connection" feature — remote ccd-cli helper crashes with exit 1 during initialize on

Resolved 💬 3 comments Opened Apr 16, 2026 by FutureMakerKids Closed Apr 20, 2026

Evidence:

  • /root/.claude/remote/remote-server.log shows Process <uuid> exited with code 1 immediately after WriteStdin

of initialize request

  • Running ccd-cli/2.1.111 directly with --print --output-format=stream-json without --verbose returns: Error:

When using --print, --output-format=stream-json requires --verbose — suggests the GUI may not always be
passing --verbose correctly, or the helper binary is out of sync with what the GUI expects

  • Running with --verbose injected and all GUI flags still exits 1 (likely due to claude-opus-4-7[1m] model ID

with the [1m] context-window suffix — unclear if helper 2.1.111 supports this syntax)

  • Reproduces on both workspace folder (/docker/.../workspace, which has a SessionStart hook) and /root (no

hooks) — so not hook-related

  • Does not reproduce via direct Terminal SSH + claude CLI — only via GUI's "New SSH connection" flow

Expected: GUI should either download a helper version that matches the flags it sends, OR degrade to flags
the helper supports, OR surface a clear version-mismatch error instead of "exit code 1".

Workaround: SSH + run claude in Terminal works.

Logs available on request:

  • /root/.claude/remote/remote-server.log (RPC traffic)
  • /var/log/auth.log (SSH session open/close)

View original on GitHub ↗

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