win10系统上装virtualbox+ubuntu,想用VS Code + Remote SSH远程开发C++项目,在vs code里面总是链接不上。
[11:06:06.461] Log Level: 2
[11:06:06.464] remote-ssh@0.51.0
[11:06:06.464] win32 x64
[11:06:06.466] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a225562756e7475227d", attempt 1
[11:06:06.466] SSH Resolver called for host: Ubuntu
[11:06:06.466] Setting up SSH remote "Ubuntu"
[11:06:06.486] Using commit id "a9f8623ec050e5f0b44cc8ce8204a1455884749f" and quality "stable" for server
[11:06:06.488] Install and start server if needed
[11:06:07.959] Checking ssh with "ssh -V"
[11:06:08.013] > OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
[11:06:08.015] Running script with connection command: ssh -T -D 62196 Ubuntu bash
[11:06:08.025] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[11:06:08.091] >
>
>
> ]0;C:\WINDOWS\System32\cmd.exe
[11:06:08.091] Got some output, clearing connection timeout
[11:06:08.098] >
>
>
[11:06:10.391] > ssh: Ubuntu: no address associated with name
[11:06:10.401] >
> 过程试图写入的管道不存在。
>
[11:06:10.674] "install" terminal command done
[11:06:10.675] Install terminal quit with output: 过程试图写入的管道不存在。
[11:06:10.675] Received install output: 过程试图写入的管道不存在。
[11:06:10.676] Stopped parsing output early. Remaining text: 过程试图写入的管道不存在。
[11:06:10.676] Failed to parse remote port from server output
[11:06:10.677] Resolver error:
配置文件是这样的
Host Ubuntu
HostName 169.254.0.1
User root
Port 2201
IdentifyFile "C:\Users\cfte\.ssh\id_rsa"
从命令行里通过ssh命令是可以连通的
其实之前vs code里是可以连接的,但是昨天再用的时候发现怎么都连接不上了,折腾了一天也没成功。请诸位大神帮助!~~~