vscode-remote-release
vscode-remote-release copied to clipboard
Connecting to Windows 10 host fails with "Failed to parse remote port from server output"
- VSCode Version: 1.42.0 insider
- Local OS Version: Windows 10 18363.592 with official OpenSSH Client
- Remote OS Version: Windows 10 18363.592 with official OpenSSH Server
- Remote Extension/Connection Type: SSH (Nightly)
Steps to Reproduce:
- Try ssh with windows command line using key-based auth, and make sure it works.
- Lunch code-insider and connect to the same host with Remote-SSH.
Log:
[00:01:14.992] Log Level: 3
[00:01:15.000] [email protected]
[00:01:15.000] win32 x64
[00:01:15.002] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a224465736b746f70227d", attempt 1
[00:01:15.002] SSH Resolver called for host: Desktop
[00:01:15.002] Setting up SSH remote "Desktop"
[00:01:15.031] Using commit id "f3dbcea32a6b52ce819dc863e778fb8517357f61" and quality "insider" for server
[00:01:15.032] Install and start server if needed
[00:01:15.036] Checking ssh with "ssh -V"
[00:01:15.116] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[00:01:15.118] Running script with connection command: ssh -T -D 59417 Desktop bash
[00:01:15.122] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[00:01:15.204] >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ]0;C:\WINDOWS\System32\cmd.exe
[00:01:15.205] Got some output, clearing connection timeout
[00:01:15.220] >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
[00:01:16.281] > W
[00:01:16.603] "install" terminal command done
[00:01:16.604] Install terminal quit with output: W
[00:01:16.604] Received install output: W
[00:01:16.606] Stopped parsing output early. Remaining text: W
[00:01:16.606] Failed to parse remote port from server output
[00:01:16.608] Resolver error:
[00:01:16.615] ------
Does this issue occur when you try this locally?: N/A Does this issue occur when you try this locally and all extensions are disabled?: N/A
I realized I didn't add the host to remote.ssh.windowsHost. And that fixed it.
I realized I didn't add the host to
remote.ssh.windowsHost. And that fixed it.
I want to ask how to add the host of remote.ssh.windowsHost ? It's Ip address+port ? or User name? Thanks