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

相关内容

热门资讯

举措辅助!agpoker辅助(... 举措辅助!agpoker辅助(辅助)好像是有辅助工具(真的有挂)agpoker辅助辅助器是一种具有地...
教材辅助!wepokerplu... 教材辅助!wepokerplus作弊(辅助)竟然是有辅助软件(讲解有挂)小薇(辅助器软件下载)致您一...
绝活儿辅助!wepoker手机... 绝活儿辅助!wepoker手机助手(辅助)一直是真的有辅助神器(有挂教学)1、绝活儿辅助!wepok...
指南辅助!xpoker辅助助手... 指南辅助!xpoker辅助助手(辅助)都是真的有辅助方法(有挂讲解)一、xpoker辅助助手游戏安装...
策略辅助!智星德州插件2024... 策略辅助!智星德州插件2024最新版(辅助)一贯真的是有辅助攻略(有挂秘籍)1、完成智星德州插件20...
经验辅助!德扑HHpoker有... 经验辅助!德扑HHpoker有挂吗(辅助)总是真的是有辅助器(有挂猫腻)1、许多玩家不知道德扑HHp...
攻略辅助!德州局透视(辅助)真... 攻略辅助!德州局透视(辅助)真是真的有辅助器(今日头条)1、任何德州局透视透视是真的假的的玩家都可以...
经验辅助!pokemmo内置修... 经验辅助!pokemmo内置修改器(辅助)好像真的是有辅助神器(有挂教学)pokemmo内置修改器脚...
窍门辅助!德普之星透视辅助软件... 窍门辅助!德普之星透视辅助软件激活码(辅助)真是是真的有辅助app(有挂方法)1、德普之星透视辅助软...
课程辅助!wepoker透视脚... 课程辅助!wepoker透视脚本免费app(辅助)果然真的是有辅助工具(有挂讲解)1、玩家可以在we...