macOS: VS Code 1.131 blocks Local Network access for integrated terminal/Remote-SSH (regression, works on 1.130)
Author: tehaandevCreated Jul 31, 2026Updated Oct 2, 2026
Labelsbugupstreammacosregression
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.131.0
- OS Version: macOS (darwin arm64) —macOS 26.6 (25G72) Steps to Reproduce:
- On macOS, with an app-level "Local Network" permission previously granted to VS Code, open the integrated terminal or use Remote-SSH to connect to a device on the local LAN (e.g.
192.168.1.x). - Observe that any network call to a local/private IP fails at the OS level — e.g.
ping 192.168.1.2inside the VS Code integrated terminal returnsping: sendto: No route to host, andssh 192.168.1.2returnsssh: connect to host 192.168.1.2 port 22: No route to host. - Run the identical command (
ping 192.168.1.2orssh 192.168.1.2) in Terminal.app (or iTerm) on the same machine, same network — it succeeds immediately. - Confirm this is scoped to VS Code's process tree, not general connectivity or SSH config, since ping (a non-SSH, non-auth-dependent command) fails identically.
- Downgrade to VS Code 1.130 — same commands, same machine, same network — LAN access works correctly in both the integrated terminal and via Remote-SSH.
Additional context:
System Settings → Privacy & Security → Local Networkshows VS Code's toggle in an ambiguous/inconsistent state; toggling off/on and relaunching does not resolve the issue on 1.131.tccutil reset LocalNetwork com.microsoft.VSCode(andtccutil reset LocalNetworksystem-wide) fail to reset the permission, including when run withsudoand from Recovery Mode.- Remote-SSH log shows the failure occurring at the OS routing layer before any SSH handshake begins:
ssh: connect to host 192.168.1.2 port 22: No route to host - Suspect a regression in 1.131 related to how the app's Local Network TCC entitlement/entry is being requested or retained, causing macOS to silently deny LAN traffic from VS Code's spawned child processes (integrated terminal shell, Remote-SSH's ssh subprocess) even when the toggle appears enabled.
- Workaround: rolling back to 1.130 restores normal LAN access without any permission changes.
Source: microsoft/vscode