VSCode Remote-Windows 10上的SSH设置无用

时间:2020-09-29 21:00:32

标签: windows visual-studio-code ssh server vagrant

我正在按照博客https://medium.com/@lopezgand/connect-visual-studio-code-with-vagrant-in-your-local-machine-24903fb4a9de中提供的所有步骤来设置开发环境。但是,当我连接到那里时,它要求我选择环境,然后选择Linux,它会产生以下错误:

[23:50:58.071] Log Level: 2
[23:50:58.083] remote-ssh@0.55.0
[23:50:58.083] win32 x64
[23:50:58.087] SSH Resolver called for "ssh-remote+http://192.168.33.10/", attempt 1
[23:50:58.088] SSH Resolver called for host: http://192.168.33.10/
[23:50:58.088] Setting up SSH remote "http://192.168.33.10/"
[23:50:58.133] Using commit id "e5e9e69aed6e1984f7499b7af85b3d05f9a6883a" and quality "stable" for server
[23:50:58.139] Install and start server if needed
[23:51:00.039] Checking ssh with "ssh -V"
[23:51:00.144] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

[23:51:00.154] Running script with connection command: ssh -T -D 53121 http://192.168.33.10/ bash
[23:51:00.161] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[23:51:00.313] > 
> ]0;C:\WINDOWS\System32\cmd.exe
[23:51:00.314] Got some output, clearing connection timeout
[23:51:00.320] > 
[23:51:00.368] > The process tried to write to a nonexistent pipe.
> 
[23:51:00.678] "install" terminal command done
[23:51:00.680] Install terminal quit with output: The process tried to write to a nonexistent pipe.
[23:51:00.680] Received install output: The process tried to write to a nonexistent pipe.
[23:51:00.710] Resolver error: Error: The process tried to write to a nonexistent pipe
    at Function.Offline (c:\Users\mohsink\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:1:130625)
    at c:\Users\mohsink\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:1:126609
    at Object.t.handleInstallOutput (c:\Users\mohsink\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:1:126987)
    at I (c:\Users\mohsink\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:106775)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
    at async c:\Users\mohsink\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:104774
    at async Object.t.withShowDetailsEvent (c:\Users\mohsink\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:109845)
    at async Object.t.resolve (c:\Users\mohsink\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:107960)
    at async c:\Users\mohsink\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:141955
[23:51:00.717] ------

我现在如何在VSCode中设置我的无业游民?

0 个答案:

没有答案