我在VS Code上收到此错误,不知道为什么失败

[15:14:59.543] Log Level: 2
[15:14:59.555] [email protected]
[15:14:59.555] win32 x64
[15:14:59.560] SSH Resolver called for "ssh-remote+xx.xx.xx.xx", attempt 1
[15:14:59.561] SSH Resolver called for host: xx.xx.xx.xx
[15:14:59.561] Setting up SSH remote "xx.xx.xx.xx"
[15:14:59.621] Using commit id "0ba0ca52957102ca3527cf479571617f0de6ed50" and quality "stable" for server
[15:14:59.624] Install and start server if needed
[15:15:01.964] getPlatformForHost was canceled
[15:15:01.965] Resolver error: Connecting was canceled
[15:15:01.973] ------

最佳答案

在您输入user @ host类型的对话框中/选择Linux / Windows / etc。根据您使用的内容,然后键入/选择继续,然后键入用于远程 session 的密码。

关于ssh - 无法将VS Code连接到Linux机器进行远程开发,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/60974357/

10-15 17:05