macOS 27: Cannot access LAN due to App Sandboxing #13438
Issue DescriptionTrying to use SSH to connect to another machine in my LAN, fails: Expected BehaviorThe SSH connection should be established. Actual BehaviorRouting is blocked by macOS Sandbox. When I start Ghostty from the builtin macOS terminal like this: Then SSH works as expected inside Ghostty. Reproduction Steps
Ghostty LogsNo response Ghostty VersionOS Version InformationmacOS 27.0 (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configurationbackground-opacity = 0.95
window-padding-x = 15
font-size = 13Additional Relevant ConfigurationNo response I acknowledge that:
|
Replies: 9 comments 31 replies
|
Normally all app should have network access on Mac, you should enable Ghostty in Local Network in privacy settings tho. I think you denied that before |
|
Same behavior with |
|
I have this issue as well, and for me it seemed to show up after installing beta 4. I got a bunch of new permission prompts once it installed, but Ghostty never asked for local networking permission even when I tried to ssh into a local machine. I had a completely unconfirmed theory: what if child processes aren't triggering local network allow prompts anymore? I tested this theory by letting Claude add a menu option to access the local network from the Ghostty process itself instead of a command run from inside a shell. After selecting this menu option, the local network allow prompt appears, and once it does, local network commands from the terminal also work. Surprisingly, the official build allows local networking once I did this test. I have no confirmation that this is required to actually fix the issue, or that it is in any way a reasonable fix, but it does seem that macOS 27 beta 4 has changed something about how the local networking allow requests work. |
|
Good news :-) To get this release, add to your settings. Thanks for the quick solution! |
|
Opened a bug via Apple's Feedback Assistant - FB24035385. |
|
I experienced the same issue across multiple applications (Warp, iTerm2, VS Code, and Ghostty) running macOS 27 Developer Beta. Deleting the network configuration PLIST files and re-approving permissions fixed the issue. Because these files are protected by System Integrity Protection (SIP) on modern macOS versions, you need to temporarily disable SIP to remove them. Instructions
csrutil disable
sudo rm /Library/Preferences/com.apple.networkextension.plist
sudo rm /Library/Preferences/com.apple.networkextension.uuidcache.plist
csrutil enable
I have tried the above steps on following MacBook and all the apps where working again after resetting the network configuration PLIST.
I hope this is temporary solution, and apple fix the underlying issue that is causing the plist file to corrupt. |
|
Did anybody verify this with today's Developers Beta 5? Changelog doesn't seem to be mentioning anything related to this. https://developer.apple.com/documentation/macos-release-notes/macos-27-release-notes#Resolved-Issues |
|
On my machine the issue seems to be solved with Beta5 ! |
|
Still happens to me :( Tmux via Ghostty via Terminal it works fine |

On latest tip, and there's 100% no difference compared to before. What I've noticed is some hosts on the same local subnet seem to be working. Definitely a beta/OS issue rather than anything with Ghostty and other terminal apps.