[BUG] SSH to local network host fails in sandbox (regression)
Resolved 💬 3 comments Opened Mar 22, 2026 by sathish-babu-saravanan Closed Mar 25, 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?
git push over SSH to a local network host (port 22) stopped working. route -n get shows the correct interface (en0/WiFi), but ssh -T fails with "No route to host" from within the Claude Code sandbox. Same command works fine from the VS Code terminal. Was working in a previous version
What Should Happen?
push to git command should have worked from claude code app
Error Messages/Logs
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Steps to Reproduce
push to git
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude 1.1.7714 (3bd6f6) 2026-03-19T14:50:53.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Its works from VS Code Integrated Terminal
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗