我正在尝试安装 VScode 远程 ssh 扩展,但我的远程主机无法连接到 Internet,因此无法下载软件。所以我收到了一些这样的错误信息:
SSH Resolver called for "ssh-remote+kf"
SSH Resolver called for host: kf
Setting up SSH remote "kf"
Using commit id "daf71423252a707b8e396e8afa8102b717f8213b" and quality "insider" for server
Install and start server if needed
> bash: no job control in this shell
> Installing...
> Downloading with wget
> ERROR: certificate common name “*.azurewebsites.net” doesn’t match requested host name “update.code.visualstudio.com”. To connect to update.code.visualstudio.com insecurely, use ‘--no-check-certificate’.
> 2b948abc-b874-4ef5-875a-a29370a5f844##25##
"install" terminal command done
Received install output: 2b948abc-b874-4ef5-875a-a29370a5f844##25## …Run Code Online (Sandbox Code Playgroud) 有没有没有互联网的连接方式?从另一个系统下载vscode服务器文件并复制到主机?我读这个,但我无法连接服务器到互联网,他们不会让我做这件事。
每次我使用 VS Code 的 Remote - Containers 扩展启动容器进行开发时,容器都必须重新下载 vs-code-server。有没有什么方法可以在 Dockerfile 中轻松安装服务器,这样就不必每次都重新安装?