使用vscode连接openEuler服务器
创始人
2024-09-25 13:26:51
0

本地主机准备

  • Remote - SSH
    在这里插入图片描述

服务器准备

官方文档提供的提前准备

DistributionBase RequirementsRemote - SSH RequirementsNotes
Generalkernel >= 4.18, glibc >=2.28, libstdc++ >= 3.4.25, tarOpenSSH server, bash, and curl or wgetRun 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 Arm32libatomic1No additional requirements.
Ubuntu 20.04+, Debian 10+, Raspberry Pi OS Buster/10+ and downstream distributionslibc6 libstdc++6 ca-certificates taropenssh-server bash and curl or wgetRequires kernel >= 4.18, glibc >= 2.28, libstdc++ >= 3.4.25.
RHEL / CentOS 8+glibc libgcc libstdc++ ca-certificates taropenssh-server bash and curl or wgetRequires 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 tarcurl or wgetRequires kernel >= 4.18, glibc, libstdc++6

针对openEuler的准备

缺少tar 解压工具

检查是否缺少tar解压工具

[root@localhost ~]# tar -bash: tar:未找到命令 

使用以下命令安装tar

dnf install tar 

端口转发未开启

  1. 我们查看sshd 服务配置文件
[root@localhost ~]# cat /etc/ssh/sshd_config 
  1. 找到以下两个配置
AllowTcpForwarding no AllowAgentForwarding no 
  1. 将 ‘ no ‘改为’ yes ‘
AllowTcpForwarding yes AllowAgentForwarding yes 
  1. 重启sshd 服务
systemctl restart sshd.service 

相关内容

热门资讯

透视教程!hhpoker怎么开... 透视教程!hhpoker怎么开透视,werplan怎么透视,攻略教程(确实有挂)-哔哩哔哩1、hhp...
第四分钟科普!wepoker免... 第四分钟科普!wepoker免费脚本咨询(透视)总是是真的挂,AI教程(有挂总结)-哔哩哔哩1、完成...
透视肯定!hhpoker德州挂... 透视肯定!hhpoker德州挂真的有吗(透视)好像是有挂,2025新版教程(有挂计算器)-哔哩哔哩一...
透视新版!wpk私人辅助,wp... 透视新版!wpk私人辅助,wpk有那种辅助吗,模板教程(有挂教程)-哔哩哔哩小薇(透视辅助)致您一封...
第1分钟外挂!hhpoker真... 第1分钟外挂!hhpoker真的假的(透视)切实是有挂,实用技巧(有挂方式)-哔哩哔哩1、进入游戏-...
透视游戏!wpk免费辅助(透视... 透视游戏!wpk免费辅助(透视)都是真的有挂,新2025版(有挂网页版)-哔哩哔哩1、玩家可以在wp...
透视游戏!aapoker插件下... 透视游戏!aapoker插件下载,福建大菠萝万能辅助器,诀窍教程(的确有挂)-哔哩哔哩1、福建大菠萝...
5分钟开挂!wepokerpl... 5分钟开挂!wepokerplus开挂(透视)好像存在有挂,切实教程(有挂解惑)-哔哩哔哩wepok...
透视辅助!wepoker怎么破... 透视辅助!wepoker怎么破解游戏(透视)一直真的是有挂,必胜教程(有挂科技)-哔哩哔哩wepok...
透视软件!wepoker免费脚... 透视软件!wepoker免费脚本咨询,wpk免费辅助,窍要教程(有挂详细)-哔哩哔哩1、每一步都需要...