vscode-remote-release
vscode-remote-release copied to clipboard
remotePlatform notification is sometimes shown unnecessarily
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
- [ ] I have tried both values of the
remote.SSH.useLocalServersetting
Connect Locally
It connects successfully
->
No response
Expected Behavior
We configure remote platform using wildcard syntax in user settings to prevent the prompt on each connection. It works nicely, but on Windows a user still sees a following notification in the remote window:
You selected "linux" as the remote platform - this will be stored in the setting "remote.SSH.remotePlatform" and can be changed there if needed.
Although a user is not prompted anymore.
Steps To Reproduce
No response
Remote-SSH Log
Remote-SSH Log
[PASTE LOG HERE]
Anything else?
No response
I see although we use wildcards the machine gets added explicitly to the settings. It is not very nice because user settings keep growing. It only manifests on Windows, I don't observe the same on Mac. And only via Remote SSH, if it is devcontainer over SSH then there is only annoying notification, settings are not updated.
On Windows, remote.SSH.useLocalServer is implicitly false. You can set it to true in settings.json to prevent this.
Hi @roblourens One question: Why does the Preference UI show useLocalServer as activated on Windows if as you are saying-- and I confirmed-- it is implicitly set to false. This led to a nightmarish debugging journey on our side.