-
Notifications
You must be signed in to change notification settings - Fork 39.1k
Remote CLI server env settings conflict with user and custom env #287100
Copy link
Copy link
Open
Description
Type: Bug
The CLI env when logged in as user:
$ echo $PATH | tr : \\n
/home/$USER/bin
/home/$USER/.local/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/binThe CLI env inside remote workspace on the same host under the same user:
$ echo $PATH | tr : \\n
/home/$USER/.vscode-server/cli/servers/Stable-94e8ae2b28cb5cc932b86e1070569c4463565c37/server/bin/remote-cli
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/binThe CLI env inside workspace when terminal.integrated.env.linux is set to "PATH": "${env:HOME}/bin:${env:HOME}/.local/bin:${env:PATH}":
$ echo $PATH | tr : \\n
/home/$USER/bin
/home/$USER/.local/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/binThat's NOT what I expect from normal working environment.
$ docker compose build
…
#3 ERROR: error getting credentials - err: exec: "docker-credential-pass": executable file not found in $PATH, out: ``
The helper is in local ~/bin.
VS Code version: Code 1.108.0 (94e8ae2, 2026-01-08T13:53:10.781Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.0-164-generic
Connection to 'ssh-remote+dev-smartbridge' could not be established
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i3-8145U CPU @ 2.10GHz (4 x 2304) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 7.86GB (0.33GB free) |
| Process Argv | --new-window --folder-uri vscode-remote://ssh-remote+dev-kim/home/anrdaemon/kim |
| Screen Reader | no |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | SSH: dev-kim |
| OS | Linux x64 5.15.0-164-generic |
| CPUs | Intel(R) Core(TM) i3-8145U CPU @ 2.10GHz (1 x 0) |
| Memory (System) | 3.80GB (2.19GB free) |
| VM | 50% |
Connection to 'ssh-remote+dev-smartbridge' could not be established
Extensions (28)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-nginx-conf | ahm | 0.3.5 |
| Bookmarks | ale | 14.0.0 |
| better-makefile | car | 0.1.1 |
| better-shellscript-syntax | jef | 1.10.0 |
| remote-ssh | ms- | 0.122.0 |
| remote-ssh-edit | ms- | 0.87.0 |
| remote-explorer | ms- | 0.5.0 |
| php-docblocker | nei | 2.7.0 |
| tcl | ras | 0.1.0 |
| vscode-openapi | 42C | 4.40.0 |
| vscode-json | and | 1.5.2 |
| vscode-intelephense-client | bme | 1.16.3 |
| make-task-provider | car | 2.5.1 |
| composer-php-vscode | DEV | 1.64.18270 |
| docker | doc | 0.18.0 |
| diff | dup | 0.0.1 |
| gitlens | eam | 17.8.1 |
| EditorConfig | Edi | 0.17.4 |
| mbake-makefile-formatter | esh | 1.4.0 |
| todo-tree | Gru | 0.0.226 |
| hexeditor | ms- | 1.11.1 |
| makefile-tools | ms- | 0.12.17 |
| php-docblocker | nei | 2.7.0 |
| postman-for-vscode | Pos | 1.19.1 |
| vscode-yaml | red | 1.19.1 |
| branch-in-window-title | wis | 0.2.0 |
| php-debug | xde | 1.39.1 |
| gitconfig-lsp | yy0 | 0.10.2 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels