Environment variables missing when connecting through SSH #5976
Labels
bug
Issue identified by VS Code Team member as probable bug
containers
Issue in vscode-remote containers
verified
Verification succeeded
Milestone
@chrmarti That was a very good idea. I do see a lot of differences between the
printenv
from the initialize command and from the SSH shell in VSCode before launching the container. Most notably, theHTTP_PROXY
/HTTPS_PROXY
variables are missing.Now these variables get set in
/etc/profile.d/<some_script>.sh
which should normally get sourced automatically for every new shell, but don't seem to get sourced in this case. Is my understanding wrong and this is the correct behaviour, or should it in fact source these files first?If I set these vars in the command explicitly, the login works:
Originally posted by @cbandera in #2994 (comment)
The text was updated successfully, but these errors were encountered: