新版VSCODE无法远程连接Linux服务器
https://code.visualstudio.com/docs/remote/faq#_can-i-run-vs-code-server-on-older-linux-distributions
Can I run VS Code Server on older Linux distributions?
Starting with VS Code release 1.99 (March 2025), the prebuilt servers distributed by VS Code are only compatible with Linux distributions that are based on glibc 2.28 or later. These include for example, Debian 10, RHEL 8, or Ubuntu 20.04.
VS Code will still allow users to connect to an OS that is not supported by VS Code (OSes that don't have glibc >= 2.28 and libstdc++ >= 3.4.25) via the Remote - SSH extension, if a sysroot with these required library versions is provided. This approach gives you and your organization more time to migrate to newer Linux distributions.
可以在较旧的Linux发行版上运行VS Code服务器吗?
从VS Code 1.99版本(2025年3月)开始,VS Code分发的预构建服务器仅与基于glibc 2.28或更高版本的Linux发行版兼容。例如,这些发行版包括Debian 10、RHEL 8或Ubuntu 20.04。
如果提供了包含这些必需库版本的sysroot,则VS Code仍将允许用户通过Remote - SSH扩展连接到不受VS Code支持的操作系统(即那些没有glibc >= 2.28和libstdc++ >= 3.4.25的操作系统)。这种方法为您和您的组织提供了更多时间来迁移到较新的Linux发行版。
经测试,使用 VS Code 1.95.3 和 Remote-SSH v0.115.1 可正常连接旧版Linux系统。