Take it easy, sit back and relax
Due to Anthropic's blocking policy, using the Claude model in VS Code's GitHub Copilot now requires special workarounds.
Locally, since the proxy has been consistently mounted, there's no issue. However, when remotely connecting to my Linux server to write code, you'll notice the absence of the Claude model.
![]() local | ![]() remote |
Although some solutions were found—configuring local extensions, routing proxies to local machines—each comes with its own issues.
Here’s my direct solution. First, set up the proxy on the remote machine, then add the following content to the remote file ~/.vscode-server/data/Machine/settings.json:
{
...
"http.proxySupport": "override",
"http.proxy": "http://localhost:7890",
"http.proxyStrictSSL": false,
}
The override mode is mandatory; using on only recommends that plugins use the proxy, but GitHub Copilot won't comply.