Due to Anthropic's blocking policy, using the Claude model in VS Code's Github Copilot now requires some special methods.
Locally, there's no problem because I always have a proxy mounted, but when I remotely connect to my Linux server to write code, I find that the Claude model is missing.
![]() | ![]() |
Although I looked up some solutions, such as configuring to use local extensions or proxying to local, each had its own problems.
Here, I'll directly post my solution. First, configure the proxy on the remote, then append the following content to the remote file ~/.vscode-server/data/Machine/settings.json:
{
...
"http.proxySupport": "override",
"http.proxy": "http://localhost:7890",
"http.proxyStrictSSL": false,
}
You must use override mode; using on only recommends plugins to use the proxy, and Github Copilot doesn't comply.

