CLI locks up after short idle period, often kills terminal session

Resolved 💬 1 comment Opened May 23, 2026 by tommyshutter Closed Jun 23, 2026

Account: tommyshutter@gmail.com (Max $100/mo plan)

Running Claude Code on Linux (Ubuntu, kernel 6.8.0-117) over SSH. After the CLI sits idle for just a few minutes, the session locks up. Symptoms:

  • The CLI becomes completely unresponsive to keyboard input — no echo, can't Ctrl-C out
  • Often the entire SSH terminal connection drops along with it
  • When it doesn't drop the connection, the session is hard-locked and the only recovery is to kill the terminal window
  • Reproduces frequently (multiple times per work session) when stepping away briefly

Environment:

  • OS: Linux 6.8.0-117-generic
  • Shell: bash
  • Connection: SSH from remote workstation (Mac client)
  • Model: Opus 4.7 (1M context)

Expected: CLI should remain responsive after idle periods, or at minimum disconnect gracefully so the terminal stays usable.

Impact: Loses in-flight conversation context every time it happens. Forces full terminal restart.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗