VSCode contains features not available in the real opensource version. It’s a bit of a Chrome vs. Chromium situation. There’s VSCodium, but it misses some features.
There are plenty of open source remote SSH extensions in the vscodium extension library including one that will deploy the full Dev environment to the host so you can run your code there.