[14:36:30.830]>Bad owner or permissions onPROGRAMDATA Wssh/ssh config
过程试图写入的管道不存在。
[14:36:31.124]"install"terminal command done
[14:36:31.126]Install terminal quit with output:过程试图写入的管道不存在
[14:36:31.126]Received install output:过程试图写入的管道不存在。
[14:36:31,128]Failed to’parse remote port from server output
14:36:31.1331Resolver error:Error:
问题原因:windows系统自带的ssh工具有问题,可以使用git工具自带的ssh工具,在vscode中替换掉默认的系统ssh工具。
1、下载git工具
https://git-scm.com/download/win/
下载:64-bit Git for Windows Portable.
在Windows的目录下解压(免安装):C:\user1\Programs\PortableGit-2.46.0-64-bit
2、设置vscode
设置vscode的 Remote-SSH:Ctrl + Shift + p
Remote-SSH:Settings
Remote.SSH: Path (Applies to all profiles)
An absolute path to the SSH executable. When empty, it wil use “ssh” on the path or in common install locations.
C:\user1\Programs\PortableGit-2.46.0-64-bit\usr\bin\ssh.exe
3、重启vscode
重新连接远程Linux。
提供一个“vscode 远程 linux(包括离线vscode-server安装,免密登录方法)”
https://blog.youkuaiyun.com/qq_43623902/article/details/136258880