microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.64k stars 285 forks source link

远程问题 #9692

Closed Dobot-Arm closed 6 months ago

Dobot-Arm commented 7 months ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. [19:35:41.975] Log Level: 2 [19:35:41.983] SSH Resolver called for "ssh-remote+192.168.0.13", attempt 1 [19:35:41.983] "remote.SSH.useLocalServer": false [19:35:41.984] "remote.SSH.useExecServer": false [19:35:41.984] "remote.SSH.showLoginTerminal": false [19:35:41.984] "remote.SSH.remotePlatform": {} [19:35:41.984] "remote.SSH.path": C:\Windows\System32\OpenSSH\ssh.exe [19:35:41.984] "remote.SSH.configFile": C:\User\Dobot.ssh\config [19:35:41.984] "remote.SSH.useFlock": true [19:35:41.984] "remote.SSH.lockfilesInTmp": false [19:35:41.984] "remote.SSH.localServerDownload": auto [19:35:41.984] "remote.SSH.remoteServerListenOnSocket": false [19:35:41.984] "remote.SSH.showLoginTerminal": false [19:35:41.984] "remote.SSH.defaultExtensions": [] [19:35:41.984] "remote.SSH.loglevel": 2 [19:35:41.985] "remote.SSH.enableDynamicForwarding": true [19:35:41.985] "remote.SSH.enableRemoteCommand": false [19:35:41.985] "remote.SSH.serverPickPortsFromRange": {} [19:35:41.985] "remote.SSH.serverInstallPath": {} [19:35:41.989] VS Code version: 1.87.2 [19:35:41.989] Remote-SSH version: remote-ssh@0.109.0 [19:35:41.989] win32 x64 [19:35:41.991] SSH Resolver called for host: 192.168.0.13 [19:35:41.991] Setting up SSH remote "192.168.0.13" [19:35:41.995] Using commit id "863d2581ecda6849923a2118d93a088b0745d9d6" and quality "stable" for server [19:35:41.997] Install and start server if needed [19:35:43.511] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V" [19:35:43.596] > OpenSSH_for_Windows_8.1p1, Libr [19:35:43.596] > eSSL 3.0.2

[19:35:43.602] Using SSH config file "C:\User\Dobot.ssh\config" [19:35:43.602] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 2364 -F "C:\User\Dobot.ssh\config" "192.168.0.13" bash [19:35:43.604] Terminal shell path: C:\Windows\System32\cmd.exe [19:35:43.908] > ]0;C:\Windows\System32\cmd.exe [19:35:43.908] Got some output, clearing connection timeout [19:35:44.866] > WSASendCB - ERROR: broken assumption, io:000001C3F243DA80, sent:33, remaining:0 [19:35:44.883] > kex_exchange_identification: write: eother

过程试图写入的管道不存在。

[19:35:46.142] "install" terminal command done [19:35:46.142] Install terminal quit with output: 过程试图写入的管道不存在。 [19:35:46.142] Received install output: 过程试图写入的管道不存在。 [19:35:46.142] Failed to parse remote port from server output [19:35:46.144] Resolver error: Error: at g.Create (c:\Users\Dobot.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:499734) at t.handleInstallOutput (c:\Users\Dobot.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:497056) at t.tryInstall (c:\Users\Dobot.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:620589) at async c:\Users\Dobot.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:580447 at async t.withShowDetailsEvent (c:\Users\Dobot.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:583753) at async k (c:\Users\Dobot.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:577412) at async t.resolve (c:\Users\Dobot.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:581124) at async c:\Users\Dobot.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:847283 [19:35:46.147] ------

roblourens commented 6 months ago

Please see whether any tips in the wiki help: https://github.com/microsoft/vscode-remote-release/wiki/Remote-SSH-troubleshooting

vscodenpa commented 6 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!