vscode-remote-release
vscode-remote-release copied to clipboard
[Remote-SSH Bug]: Directives in config files that are included are erroneously case-sensitive
Is there an existing issue for this bug?
- [X] I have searched the existing issues
Required Troubleshooting Steps
- [X] I have followed these troubleshooting steps
- [X] I have tried both values of the
remote.SSH.useLocalServersetting
Connect Locally
It connects successfully
->
No response
Expected Behavior
VS Code seems to be case sensitive when parsing SSH config files that are included by the main config file. Specifically, it seems to recognize only Host directives but not HOST or host. According to the ssh_config spec, directives are case-insensitive. And indeed, HOST and host seem to work properly when put in the main config file.
Steps To Reproduce
- In the
~/.ssh/configfile add the line
Include test.config
- Make file
~/.ssh/test.configwith contents
HOST test
USER test
The host test does not appear in the Remote Explorer after refreshing it. However, replacing HOST -> Host and USER -> User makes the host appear.
Remote-SSH Log
Remote-SSH Log
Only file saving operations in the log, nothing relevant.
Anything else?
No response