[BUG] Interactive mode input broken over SSH in v2.1.31 (regression from 2.1.29)
Resolved 💬 4 comments Opened Feb 5, 2026 by bschwerUCSF Closed Mar 6, 2026
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?
## Bug description
Claude Code interactive mode does not accept keyboard input when running
over SSH. The TUI launches and displays correctly, but the cursor does not
move and no keystrokes are registered. Non-interactive mode (claude -p)
works fine.
## Regression
- Works: v2.1.29
- Broken: v2.1.31
- Rolling back to 2.1.29 via symlink resolves the issue.
## Environment
- Local OS: macOS
- Remote OS: Rocky Linux 8.10 (RHEL 8 based)
- Node.js version: v20.19.5
- Terminal: Terminal.app
## Steps to reproduce
- SSH into a remote Linux host
- Run
claude(v2.1.31) - Claude Code TUI launches but input is completely unresponsive
- Downgrading to v2.1.29 restores normal behavior
What Should Happen?
keyboard input to claude should work normally.
Error Messages/Logs
Steps to Reproduce
- SSH into a remote Linux host with
ssh -t user@host - Run
claude(v2.1.31) - Claude Code TUI launches but input is completely unresponsive
- Downgrading to v2.1.29 restores normal behavior
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.1.31
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗