[BUG] Desktop app SSH hangs after connecting — Mac ARM64, non-root user, v2.1.84
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Code desktop app SSH mode hangs indefinitely after connecting to a remote server. The session shows "Connecting..." and "thinking" but never responds to any prompt.
Tested with both root user and non-root user (james). Both hang.
Mac: Apple Silicon (M-series)
Remote: DigitalOcean Ubuntu 24.04
Claude Code on remote: v2.1.84
Desktop app: v2.1.84
CLI via terminal (ssh then claude) works perfectly on same connection. Only the desktop SSH mode hangs.
Related to issue #37967 (ccd-cli root permissions bug) but persists after that fix.
What Should Happen?
Claude Code desktop SSH mode should connect and respond to prompts, same as the CLI terminal version.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code desktop app
- Add SSH connection: james@159.65.178.106, key ~/.ssh/trading_vps
- Select remote folder /root/trading_advisor
- Type any prompt e.g. "Run: echo hello"
- App shows "Connecting..." then "thinking" indefinitely — never responds
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.3 (before the ccd-cli changes)
Claude Code Version
2.1.84 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Remote server: DigitalOcean Ubuntu 24.04, Apple Silicon Mac.
CLI via terminal works perfectly. Only desktop SSH mode hangs.
Tested both root and non-root user. Both hang.
Related to #37967.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗