You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried both values of the remote.SSH.useLocalServer setting
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/config file add the line
Include test.config
Make file ~/.ssh/test.config with 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
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect 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 notHOST
orhost
. According to the ssh_config spec, directives are case-insensitive. And indeed,HOST
andhost
seem to work properly when put in the main config file.Steps To Reproduce
~/.ssh/config
file add the line~/.ssh/test.config
with contentsThe host
test
does not appear in the Remote Explorer after refreshing it. However, replacingHOST
->Host
andUSER
->User
makes the host appear.Remote-SSH Log
Remote-SSH Log
Anything else?
No response
The text was updated successfully, but these errors were encountered: