vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

SSH still available in container even I disable `forwardWSLServices`

Open ai opened this issue 1 year ago • 0 comments

SSH inside container can connect to GitHub even if I disable forwardWSLServices and gitCredentialHelperConfigLocation.

There are no keys in ~/.ssh (inside container) and no helper in git config -l

My settings:

"dev.containers.copyGitConfig": false,
  "dev.containers.defaultExtensions": [
    "editorconfig.editorconfig",
    "connor4312.nodejs-testing",
    "dbaeumer.vscode-eslint",
    "esbenp.prettier-vscode",
    "yoavbls.pretty-ts-errors",
    "streetsidesoftware.code-spell-checker",
    "editorconfig.editorconfig",
    "yzhang.markdown-all-in-one",
    "christian-kohler.path-intellisense",
    "christian-kohler.npm-intellisense",
    "VisualStudioExptTeam.vscodeintellicode",
    "davidlday.languagetool-linter"
  ],
  "dev.containers.dockerCredentialHelper": false,
  "dev.containers.dockerPath": "podman",
  "dev.containers.forwardWSLServices": false,
  "dev.containers.gitCredentialHelperConfigLocation": "none",
  "dev.containers.mountWaylandSocket": false,
  "dotfiles.installCommand": "devcontainer/install-dotfiles",
  "dotfiles.repository": "ai/environment",
  • VSCode Version: 1.89.1

  • Local OS Version: Fedora 40

  • Remote OS Version: ubuntu:24.04

  • Remote Extension/Connection Type: Containers

  • Logs:

Steps to Reproduce:

  1. Disable forwardWSLServices, and gitCredentialHelperConfigLocation
  2. Open local project in container
  3. Open container terminal in VS Code
  4. Run ssh -T [email protected]
  5. See container has SSH access to GitHub

ai avatar May 17 '24 17:05 ai