Could not establish connection to "centos": Downloading VS Code Server failed - please install either curl or wget on the remote.
时间: 2024-04-16 07:23:57 浏览: 208
vscode连接远程ubuntu服务器,使用remote-ssh插件+连接问题解决
It seems that you are encountering an issue while trying to establish a connection to the "centos" server. The error message suggests that the VS Code Server download failed because the remote machine does not have either curl or wget installed.
To resolve this issue, you can install either curl or wget on the remote machine. Both tools are commonly used for downloading files from the internet. Here are the steps to install them:
1. For curl:
- Run the following command on the remote machine:
```
sudo yum install curl
```
2. For wget:
- Run the following command on the remote machine:
```
sudo yum install wget
```
Once you have installed either curl or wget, you should be able to establish a connection to the "centos" server and download the VS Code Server successfully.
阅读全文