使用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 

相关内容

热门资讯

曝光秘籍!海商娱乐辅助器,we... 曝光秘籍!海商娱乐辅助器,wepoker辅助脚本,详细教程(有挂存在)1、进入游戏-大厅左侧-新手福...
七分钟辅助!wepoker怎么... 七分钟辅助!wepoker怎么设置房间,aapoker能控制牌吗,详细教程(有挂解惑)在进入wepo...
一分钟揭秘!hhpoker辅助... 一分钟揭秘!hhpoker辅助器,亲友联盟能开挂不,总结教程(证实有挂)1、打开软件启动之后找到中间...
了解手册!广东雀神智能插件是真... 了解手册!广东雀神智能插件是真有挂,山西扣点免费辅助下载,详细教程(确实有挂)1、下载好广东雀神智能...
第8分钟辅助!aapoker发... 第8分钟辅助!aapoker发牌逻辑,哈糖大菠萝有挂吗,详细教程(有挂神器)1、超多福利:超高返利,...
发现一款!德州真人透视脚本,上... 发现一款!德州真人透视脚本,上饶中至辅助软件怎么用,机巧教程(真实有挂)1、起透看视 上饶中至辅助软...
普及法门!广东雀神麻雀辅助神器... 普及法门!广东雀神麻雀辅助神器,越乡游义乌辅助器免费试用,详细教程(证实有挂)1、起透看视 广东雀神...
第八分钟辅助!wepokerp... 第八分钟辅助!wepokerplus透视脚本免费,WePOker有没有透视方法,详细教程(了解有挂)...
此事备受玩家关注!hhpoke... 此事备受玩家关注!hhpoker为什么一直输,闲闲辅助器,练习教程(证实有挂)1.闲闲辅助器 选牌创...
推荐讲义!新超凡软甲辅助,微信... 推荐讲义!新超凡软甲辅助,微信开心泉州辅助,详细教程(有挂秘诀)新超凡软甲辅助透视方法中分为三种模型...