[BUG]

Resolved 💬 3 comments Opened Feb 4, 2026 by kzangeli Closed Feb 4, 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?

I wanted to add a comment on https://github.com/anthropics/claude-code/issues/1970, but that issue has been closed, so, opening a new one.
I'm experiencing something very similar, deadlock when claude is attempting the following command:

  Bash(ssh -i ~/.ssh/<cert-file> user@IP "ls -la /var/www/ispeak/api/data/ && head -200 /var/www/ispeak/api/data/arasaac_cache.json | head -100")                                            

I did the request manually and all good. Redirected it to a file.The response is big, 4 megabytes.

What Should Happen?

Well, claude should not hang :)

Error Messages/Logs

No response. Unresponsive. Esc doesn't work, Ctrl-C (twice fast) doesn't work.  Normal kill doesn't work.
"top" tells me it's using more than one entire core - my laptop fan is working hard ...

Only way to kill it is with -9

Steps to Reproduce

Bash(ssh -i ~/.ssh/cert-file user@IP "ls -la /var/www/ispeak/api/data/ && head -200 /var/www/ispeak/api/data/arasaac_cache.json | head -100")

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

Not a clue

Claude Code Version

2.1.31 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Xterm

Additional Information

Terminal/Shell is actually "Terminator", not "xterm" (it was the closest option).

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗