You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ProxyCommand for the SSH tunnel does not receive http.proxy #1010
When conne ting to a workspace through the VS Code extension from behind a corporate HTTP proxy, the connection hangs at "Setting up SSH Host…" and eventually times out. The root cause is that the ProxyCommand generated by the extension runs coder ssh --stdio without any proxy configuration: no proxy flag is passed, and no proxy environment variable is injected into the subprocess. The coder CLI therefore reaches the deployment only if HTTP_PROXY/HTTPS_PROXY happen to already be present in the environment VS Code inherited.
The extension does honor http.proxy for its own API client but that setting is never propagated to the SSH tunnel subprocess, so it has no effect on the actual connection.
Expected behavior
The extension uses the configured proxy (http.proxy, falling back to HTTP_PROXY/HTTPS_PROXY, and honoring coder.proxyBypass/http.noProxy) for the SSH tunnel, so the connection succeeds.
Environment
OS: Windows
VS Code with the Remote - SSH extension (ms-vscode-remote.remote-ssh)
Coder extension version: 1.15.0
Network: behind a corporate HTTP proxy; the Coder deployment is reachable only via that proxy
Would you be able to test the VSIX below? It adds support for passing through the proxy env variable.
One thing to check first: make sure remote.SSH.useLocalServer is set to true, otherwise it won't work. If it's currently set to false, you'll get a dialog with an option to switch it on, so no worries either way.
Activity
linear-code commentedon Jun 15, 2026
ENG-2919
EhabY commentedon Jun 18, 2026
Hey Nicolas, thanks for the bug report!
Would you be able to test the VSIX below? It adds support for passing through the proxy env variable.
One thing to check first: make sure
remote.SSH.useLocalServeris set totrue, otherwise it won't work. If it's currently set tofalse, you'll get a dialog with an option to switch it on, so no worries either way.https://github.com/coder/vscode-coder/actions/runs/27761689563/artifacts/7724243795
Let me know how it goes
nithril commentedon Jun 24, 2026
Hello @EhabY,
Thank you for your fix, I will gonna test in the upcoming days.
fix: propagate proxy settings to SSH environment (coder#1012)
EhabY commentedon Jun 26, 2026
@nithril We just released v1.15.1 which includes a fix for this. Please let me know if you get a chance to test it!