anthropics / anthropics/claude-code

[BUG] Session becomes unresponsive after 2-3 messages when using Claude Code over remote SSH

オープン
#93,278 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:tui bug platform:linux
主要言語
Python
スター
145k
フォーク
23.1k
PR マージ指標
PR 指標を取得中

説明

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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?

When connected to Claude Code via a remote SSH session, the session hangs / stops responding after asking only 2-3 questions in a row. It needs to be restarted to continue working.

### What Should Happen?

The session should remain responsive for extended use over SSH, without hanging after just a few exchanges.

### Error Messages/Logs

```shell

```

### Steps to Reproduce

1. Connect to a remote machine via SSH.
2. Start a Claude Code session (`claude`).
3. Ask 2-3 questions / send 2-3 prompts in the same session.
4. The session stops responding (hangs) and does not continue processing further input.

### Claude Model

None

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

_No response_

### Claude Code Version

2.1.267

### Platform

Anthropic API

### Operating System

Ubuntu/Debian Linux

### Terminal/Shell

VS Code integrated terminal

### Additional Information

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with the `claude` entry point and reproduce the hang in an Ubuntu/Debian remote SSH session using the VS Code integrated terminal. Send several prompts in one session and compare the behavior with a previous working version if available. Done means the session remains responsive after extended repeated use, with the regression narrowed to a diagnosable cause.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
linux, vscode
領域
cli, devtools, networking, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。