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

相关内容

热门资讯

技术分享!多乐辅助下载,南丰数... 技术分享!多乐辅助下载,南丰数刀脚本-原来真的是有辅助教程(有挂细节)小薇(辅助器软件下载)致您一封...
记者揭秘!微信边锋辅助挂件,战... 记者揭秘!微信边锋辅助挂件,战皇大厅辅助那个可靠-果然真的有辅助教程(确实有挂)1、实时微信边锋辅助...
重大通报!哈局八张模拟器,新广... 重大通报!哈局八张模拟器,新广西老友辅助-切实有辅助教程(真实有挂)1、让任何用户在无需哈局八张模拟...
揭秘攻略!茶馆游戏辅助,填大坑... 揭秘攻略!茶馆游戏辅助,填大坑辅助器视频-都是是有辅助app(有挂细节)1、首先打开填大坑辅助器视频...
详细说明!雀友会广东潮汕麻雀,... 详细说明!雀友会广东潮汕麻雀,四川徒有辅助软件-原来是真的有辅助神器(详细教程)1、进入到雀友会广东...
记者揭秘!吉安中至小程序,微乐... 记者揭秘!吉安中至小程序,微乐陕西小程序破解器-切实是有辅助教程(有挂教程)1、许多玩家不知道微乐陕...
玩家攻略!吉祥填大坑小程序辅助... 玩家攻略!吉祥填大坑小程序辅助,心悦填大坑辅助-果然真的有辅助教程(有挂助手)1、全新机制【吉祥填大...
盘点一款!河南微乐麻将小程序辅... 盘点一款!河南微乐麻将小程序辅助器,友友联盟有辅助吗-确实是有辅助攻略(真的有挂)1、河南微乐麻将小...
信息共享!手机游戏辅助脚本工具... 信息共享!手机游戏辅助脚本工具,西兵互娱辅助插件app-一贯真的是有辅助教程(有挂解惑)一、手机游戏...
关于!欢乐情怀怎么开挂,指尖四... 关于!欢乐情怀怎么开挂,指尖四川辅助脚本视频-其实存在有辅助工具(有挂方法)1、欢乐情怀怎么开挂透视...