claude-code - 💡(How to fix) Fix [BUG] claude code has stopped working over SSH [2 comments, 2 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#51695Fetched 2026-04-22 07:55:20
View on GitHub
Comments
2
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×4commented ×2cross-referenced ×1renamed ×1

Error Message

Error Messages/Logs

Root Cause

having no issues with codex ..... seems to be a recent issue, being forced to stop using claude code because of this.

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?

Claude code has stopped working over SSH

  • last night it wasnt loading at all - would hang after running claude in terminal
  • this morning it freezes once the TUI is open - cant type anything into the input box, cant ctrl+c, totally unresponsive

having no issues with codex ..... seems to be a recent issue, being forced to stop using claude code because of this.

What Should Happen?

i ssh into my dev machine i run claude in terminal, it opens and i can start typing and using claude code

Error Messages/Logs

Steps to Reproduce

  1. ssh into a mac laptop
  2. run claude

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

not sure?? worked yesterday morning

Claude Code Version

2.1.116

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Xterm

Additional Information

No response

extent analysis

TL;DR

The issue with Claude Code freezing after opening over SSH may be related to a recent change or update, and trying a previous version or checking for updates could help resolve the issue.

Guidance

  • Since the issue is reported as a regression, try to identify the last working version of Claude Code and compare its configuration or dependencies with the current version.
  • Check the Anthropic API and macOS updates for any recent changes that might be causing the issue.
  • Verify that the problem is specific to Claude Code by testing other similar tools or interfaces, such as Codex, which is reported to be working fine.
  • Consider testing Claude Code on a different platform or terminal to isolate the issue.

Example

No specific code example is provided as the issue seems to be related to the overall functionality of Claude Code rather than a specific code snippet.

Notes

The lack of error messages or logs makes it challenging to pinpoint the exact cause. The fact that Codex is working correctly suggests that the issue might be specific to Claude Code or its integration with the Anthropic API.

Recommendation

Apply workaround: Try rolling back to a previous version of Claude Code or checking for updates to the Anthropic API or macOS, as the issue is reported to have started recently and is considered a regression.

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 has stopped working over SSH [2 comments, 2 participants]