Skip to content

Instantly share code, notes, and snippets.

@mh0w
Last active September 19, 2025 18:14
Show Gist options
  • Select an option

  • Save mh0w/5cc3288a1c5bda36d2152ce9b180fab1 to your computer and use it in GitHub Desktop.

Select an option

Save mh0w/5cc3288a1c5bda36d2152ce9b180fab1 to your computer and use it in GitHub Desktop.
VSCode settings.json

Problem: cannot use GitHub CoPilot in ssh remote sessions.

Solution: add this to .vscode/settings.json (e.g. on the remote server)

"remote.extensionKind": {
        "GitHub.copilot": [
            "ui"
        ],
        "GitHub.copilot-chat": [
            "ui"
        ],
    },

Source: https://github.com/orgs/community/discussions/52369#discussioncomment-9156988

{
    "workbench.colorCustomizations": {
        "activityBar.background": "#13332E",
        "titleBar.activeBackground": "#19423B",
        "titleBar.activeForeground": "#F6FBFB"
        },
    "files.watcherExclude": {
        "**/.git/objects/**": true,
        "**/.git/subtree-cache/**": true,
        "**/build/**": true,
        "**/dist/**": true
    },
    "python.testing.pytestArgs": [
        "tests"
    ],
    "python.testing.unittestEnabled": false,
    "python.testing.pytestEnabled": true,
    "remote.downloadExtensionsLocally": true,
    "remote.SSH.localServerDownload": true,
    "remote.extensionKind": {
        "GitHub.copilot": [
            "ui"
        ],
        "GitHub.copilot-chat": [
            "ui"
        ],
    },
}

SEO: copilot co pilot CoPilot GitHub github vscode vs code local server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment