问题描述
限时送ChatGPT账号..我已经设置了我的 VSCode Insider 以通过远程 SSH 扩展连接到 Windows 2019 服务器.是否正确,我需要安装 WSL 以便它可以设置 VSCode-Server,然后当我连接时它在 WSL 发行版中运行?
I've set up my VSCode Insider to connect th a Windows 2019 Server via the Remote-SSH extension. Is it correct, that I need a WSL installed so that it can set up the VSCode-Server and then it is running within the WSL distro when I'm connected?
我认为它会在 Windows 上运行.
I thought it would run on Windows instead.
推荐答案
您不需要运行 WSL.你需要在你的本地机器(你将运行 VS Code 的机器)上安装一个 ssh 客户端,并在你的远程机器上安装一个 ssh 服务器.这就是你所需要的.您的本地 VS Code 使用 ssh 客户端连接到远程计算机上的 ssh 服务器.如何执行此操作的详细信息可以在此处找到,包括在 Windows 的情况下打开防火墙端口.
You do not need to run WSL. You need to install a ssh client on your local machine (the machine that you will run VS Code), and install a ssh server on your remote machine. That's all you need. Your local VS Code uses the ssh client to connect to that ssh server on the remote machine. Details of how to do this can be found here, including opening firewall ports in the case of Windows.
这篇关于Visual Studio Code:远程 SSH 连接到 Windows Server 2019的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论