如何使用vscode连接openEuler服务器
时间:2025-12-04 11:30:04|栏目:其它服务器|点击: 次
本地主机准备
Remote - SSH:

服务器准备
官方文档提供的提前准备
| Distribution | Base Requirements | Remote - SSH Requirements | Notes |
|---|---|---|---|
| General | kernel >= 4.18, glibc >=2.28, libstdc++ >= 3.4.25, tar | OpenSSH server, bash, and curl or wget |
Run ldd --version to check the glibc version. Run strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX to see if libstdc++ 3.4.25 is available. |
| General for Arm32 | libatomic1 |
No additional requirements. | |
| Ubuntu 20.04+, Debian 10+, Raspberry Pi OS Buster/10+ and downstream distributions | libc6 libstdc++6 ca-certificates tar |
openssh-server bash and curl or wget |
Requires kernel >= 4.18, glibc >= 2.28, libstdc++ >= 3.4.25. |
| RHEL / CentOS 8+ | glibc libgcc libstdc++ ca-certificates tar |
openssh-server bash and curl or wget |
Requires kernel >= 4.18, glibc >= 2.28, libstdc++ >= 3.4.25. |
| Alpine Linux 3.16+ | musl libgcc libstdc++. musl >= 1.2.3, glibc not required. |
Not yet supported. | Supported in Dev Containers and WSL. Extensions installed in the container may not work due to glibc dependencies in extension native code. |
| openSUSE Leap / SUSE Linux Enterprise 15+ | glibc libgcc_s1 libstdc++6 ca-certificates gzip tar |
curl or wget |
Requires kernel >= 4.18, glibc, libstdc++6 |
针对openEuler的准备
缺少tar 解压工具
检查是否缺少tar解压工具
[root@localhost ~]# tar -bash: tar:未找到命令
使用以下命令安装tar
dnf install tar
端口转发未开启
我们查看sshd 服务配置文件
[root@localhost ~]# cat /etc/ssh/sshd_config
找到以下两个配置
AllowTcpForwarding no AllowAgentForwarding no
将 ‘ no ‘改为’ yes ‘
AllowTcpForwarding yes AllowAgentForwarding yes
重启sshd 服务
systemctl restart sshd.service
您可能感兴趣的文章
- 01-12Docker部署rabbitmq遇到的两个问题
- 01-12最新虚拟机VMware 14安装教程
- 01-12使用docker compose安装harbor私有仓库的详细教程
- 01-12Windows下Docker安装各种软件的详细过程
- 01-12seata docker 高可用部署的详细介绍
- 01-12浅谈Tomcat多层容器的设计
- 01-12Gogs+Jenkins+Docker 自动化部署.NetCore的方法步骤
- 01-12解决vscode docker插件docker.socket权限问题
- 01-12Docker中运行PostgreSQL并推荐几款连接工具
- 01-12Docker核心原理之 Cgroup详解


阅读排行
推荐教程
- 12-07一文教你怎么选择Tomcat对应的JDK版本
- 12-23linux中ftp无法访问怎么办
- 12-11docker存储目录迁移示例教程
- 12-10docker start启动容器后仍然exit状态的解决
- 12-10Linux下如何安装Logstash
- 12-05Docker安装Jenkins全过程
- 01-05Shell脚本去重的几种方法实例
- 12-22kvm虚拟机配置NAT端口转发的实现方法
- 12-19Zabbix SAML SSO 登录绕过漏洞的操作流程
- 12-15Docker-Compose搭建Spark集群的实现方法




