1

I get the following error when connecting to a remote host to setup remote SSH connection.

Server did not start successfully. Full server log >>>

[09:58:46.599] > bash: line 212: /u/kasula/.vscode-server/bin/036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8/server.sh: No such file or directory <<< End of server log

Not sure how to proceed, and no more information in the log file or terminal. Please help.

4

2 回答 2

2

我也有同样的问题。
我的本地操作系统是 macOS 10.15.4,远程操作系统是 CentOS 8。

事实证明,CentOS 8 没有默认安装 tar。所以我只是安装它(sudo yum install tar),然后在 VSCode 中再次连接到远程,它就可以工作了。

于 2020-04-22T11:35:54.613 回答
0

我有同样的问题。

找不到 server.sh 文件。

[18:10:19.668] > Server did not start successfully. Full server log >>>
> bash: line 302: /root/.vscode-server/bin/26076a4de974ead31f97692a0d32f90d735645c
> 0/**server.sh: No such file or directory**
> <<< End of server log
  • 解决问题后更新:

就我而言,VSCODE 无法下载 server.sh 文件。我给了linux服务器从这两个站点下载的权限,问题就解决了。

update.code.visualstudio.com 或(带有所有前缀的https://visualstudio.com )

vo.msecnd.net 或(带有所有前缀的https://msecnd.net )

于 2020-01-13T17:42:56.310 回答