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

相关内容

热门资讯

四分钟了解!榕城50k辅助!好... 四分钟了解!榕城50k辅助!好像有辅助方法(有挂讲解)-哔哩哔哩1、下载好榕城50k辅助透视辅助下载...
五分钟了解!天天炫斗辅助工具!... 五分钟了解!天天炫斗辅助工具!一贯有辅助app(新版有挂)-哔哩哔哩1.天天炫斗辅助工具 选牌创建新...
第九分钟了解!大头大菠萝辅助!... 第九分钟了解!大头大菠萝辅助!一直一直总是有辅助方法(有挂方式)-哔哩哔哩1、大头大菠萝辅助模拟器是...
3分钟了解!桂麻圈辅助器使用方... 3分钟了解!桂麻圈辅助器使用方法!好像真的有辅助工具(的确有挂)-哔哩哔哩暗藏猫腻,小编详细说明桂麻...
1分钟了解!广东闲来辅助!一直... 1分钟了解!广东闲来辅助!一直是有辅助app(有挂教程)-哔哩哔哩1、超多福利:超高返利,海量正版游...
第四分钟了解!微信闲来辅助神器... 第四分钟了解!微信闲来辅助神器!一直真的有辅助app(真是有挂)-哔哩哔哩1、玩家可以在微信闲来辅助...
一分钟了解!边锋透视器辅助器微... 一分钟了解!边锋透视器辅助器微信!总是存在有辅助技巧(真是有挂)-哔哩哔哩1、下载好边锋透视器辅助器...
两分钟了解!游戏挂机辅助软件!... 两分钟了解!游戏挂机辅助软件!总是有辅助神器(确实有挂)-哔哩哔哩1、每一步都需要思考,不同水平的挑...
五分钟了解!拱趴大菠萝辅助工具... 五分钟了解!拱趴大菠萝辅助工具是真的吗!一直真的是有辅助工具(真是有挂)-哔哩哔哩拱趴大菠萝辅助工具...
第9分钟了解!山西扣点点app... 第9分钟了解!山西扣点点app技巧!都是真的是有辅助插件(证实有挂)-哔哩哔哩1、山西扣点点app技...