首页 > 解决方案 > 您可以帮助使 Visual Studio ssh 连接到远程计算机吗?

问题描述

远程 ssh 连接曾经在我的 macOS 10.15 Catalina 上运行良好。但是我刚刚进行了安全更新,Visual Studio 无法再通过 ssh 连接到远程计算机。我仔细检查了配置文件,一切看起来都很好。当我通过终端连接时,ssh-key login 工作正常。我试图在控制台断开连接时共享控制台的输出,但 Visual Studio 不允许我复制粘贴它并给出错误。谁能帮帮我吗?版本:1.56.0(通用)提交:cfa2e218100323074ac1948c885448fdf4de2a7f 日期:2021-05-04T22:06:21.189Z Electron:12.0.4 Chrome:89.0.4389.114 Node.js:14.16.0 V8:8.0.9.2electron : 达尔文 x64 19.6.0

Output from VS console when it cannot ssh connect:
[19:25:52.267] Using commit id "cfa2e218100323074ac1948c885448fdf4de2a7f" and quality "stable" for server
[19:25:52.311] Install and start server if needed
[19:25:54.515] getPlatformForHost was canceled
[19:25:54.515] Resolver error: Error: Connecting was canceled```

标签: linuxvisual-studiovisual-studio-codesshmacos-catalina

解决方案


推荐阅读