linux - 您可以帮助使 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```
解决方案
推荐阅读
- javascript - 如何使用 Google Apps 脚本将 JSON 数组导入 Google Sheet
- javascript - 子集总和变化 - 子集有 X 个项目
- kubernetes - 使用来自 GitLab 的运行器部署到 Kubernetes 集群
- google-app-engine - 我们的用户如何在 Google App Engine 中添加多个域名以进行白标?
- class - 在 System Verilog 中将类句柄声明为 rand 类型
- javascript - 找不到带有 document.querySelector 的 atag 链接
- javascript - Jquery在单击的元素附近打开下拉菜单
- javascript - jquery timepicker 不能与 datepicker 一起使用
- scala-collections - Scala:如何对不同长度列表中具有相同索引的所有元素求和?
- javascript - Post Request express:发送到客户端后无法设置标头