Failed to connect to the remote extension host server
打开setting Remote-ssh 时 显示:no remote extension installed to resolve ssh-remote
并且远程时总是显示
Failed to connect to the remote extension host server (Error: CodeError(AsyncPipeFailed(Os { code: 2, kind: NotFound, message: "No such file or directory" })))
使用其他工具ssh 直接登上服务器,发现服务器 ~/ 有两个文件夹
.vscode-server/
.vscode-remote-containers/
我尝试将 rm -r .vscode-remote-containers/ 删除后,则解决了远程文件打开不了的问题。
如果仅仅删除.vscode-remote-containers/不行,或者本来就没有这个文件夹,则可以i直接删除 rm -r .vscode-server/.
另:其他可以尝试的包括按照旧版本的vscode https://code.visualstudio.com/updates/v1_86
然后remote-ssh 工具也install other version.
