claude-code - 💡(How to fix) Fix [BUG] Claude Code on desktop via SSH hangs [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52122Fetched 2026-04-23 07:36:03
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

Error Messages/Logs

Code Example

None that I can see
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Similar to: https://github.com/anthropics/claude-code/issues/27165

I am using Claude Desktop on MacOS and trying to use the Code session, connected to a VM on GCP. I can connect the SSH and see my folders, but when I start a chat, it sits at "Starting session..." forever.

What Should Happen?

Chat starts while using the SSH connection in Claude Code tab on desktop.

Error Messages/Logs

None that I can see

Steps to Reproduce

  1. Connect to SSH
  2. Start chat
  3. Hangs

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

Claude 1.3883.0 (93ff6c) 2026-04-21T17:24:01.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

Investigate SSH connection stability and Claude Code's handling of SSH sessions to resolve the "Starting session..." hang.

Guidance

  • Verify the SSH connection is stable and functional outside of Claude Code to isolate the issue.
  • Check if other users have reported similar issues with the Opus model or Claude Code version 1.3883.0.
  • Attempt to start a chat without using the SSH connection to see if the issue is SSH-specific.
  • Review the Claude Code documentation for any specific requirements or troubleshooting steps for SSH connections.

Example

No code snippet is provided as the issue does not imply a specific code-related fix.

Notes

The lack of error messages or logs makes it challenging to pinpoint the exact cause. The fact that this never worked suggests a potential configuration or compatibility issue.

Recommendation

Apply workaround: Try alternative methods to establish a stable connection, such as using a different SSH client or configuring Claude Code to use a different connection method, as the root cause is unclear and no clear fix is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Code on desktop via SSH hangs [1 participants]