What is the name of the domain?
What is the error message?
[09:02:26.713] Spawned SSH tunnel between local port 57774 and remote target port 33169 [09:02:26.713] Waiting for ssh tunnel to be ready [09:02:26.716] Tunneled port 33169 to local port 57774 [09:02:26.716] Resolved “ssh-remote+remoteserver . xyz . com” to “port 57774” [09:02:26.719] Initizing new exec server for ssh-remote+remoteserver . xyz . com [09:02:26.719] Resolving exec server at port 57774 [09:02:28.445] Exec server for ssh-remote+remoteserver . xyz . com failed: Error: Connection closed [09:02:28.448] Resolver error: Error: Connection closed at Socket. (/ Users / johnsmith / .viscid / extensions / ms-vscode-remote . remote-ssh-0 . 120 . 0 / out / extension . js:2:294600) at Object.onceWrapper (node:events:639:26) at Socket.emit (node:events:536:35) at TCP. (node:net:343:12) [09:02:28.450] TELEMETRY: {“eventName”:“resolver”,“properties”:{“osReleaseId”:“”,“arch”:“”,“askedPw”:“0”,“askedPassphrase”:“0”,“asked2fa”:“0”,“askedHostKey”:“0”,“remoteInConfigFile”:“1”,“gotUnrecognizedPrompt”:“0”,“dynamicForwarding”:“0”,“localServer”:“0”,“didLocalDownload”:“0”,“installUnpackCode”:“0”,“outcome”:“failure”,“reason”:“UnclassifiedError”,“exitCodeLabel”:“”},“measures”:{“resolveAttempts”:1,“isExecServer”:0,“timing . totalResolveTime”:7325,“timing . preSshTime”:2436,“timing . establishSshTime”:1394,“timing . scriptTime”:1501}} [09:02:28.453] ------
What is the issue you’re encountering
Hi, I am using a free Cloudflare plan (thank you Cloudflare!) to put my home network behind a Zero Trust configuration. I have enabled SSH with Access for Infrastructure (SSH with Access for Infrastructure (recommended) · Cloudflare Zero Trust docs) with a split tunnel configured for hosted web applications and my private network. I have installed the WARP client on my macOS Sequoia 15.5 laptop and it successfully connects which means the split tunnel for my private network is enabled. I am able to successfully ssh from a terminal into my remote development server. I assumed that this would allow me to use Visual Studio Code (macOS) with Remote SSH. I researched the requirements for this and set the following configuration for VSC: “remote.SSH.enableDynamicForwarding”: true → false “remote.SSH.useLocalServer”: true → false VSC successfully connects to the remote server but gets a disconnect after trying to setup local port forwarding: trace attached below. Wondering if anybody has successfully connected using VSCOde using Remote SSH to a remote server in such a setup. I would greatly appreciate any and all guidance. Many thanks!
What steps have you taken to resolve the issue?
In Visual Studio Code:
Disabled dynamic port forwarding (remote.SSH.enableDynamicForwarding)
Disabled useLocalServer (remote.SSH.useLocalServer)
What are the steps to reproduce the issue?
Attempt to connect a Remote SSH session using Visual Studio Code to a remote server behind Zero Trust Network Access with a local (with Visual Studio Code) WARP client.