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

相关内容

热门资讯

黑科技攻略!红龙poker辅助... 黑科技攻略!红龙poker辅助器免费观看,宝宝浙江辅助器,资料教程(有挂实锤)1)宝宝浙江辅助器有没...
更值得关注的是!约局吧德州有挂... 更值得关注的是!约局吧德州有挂吗,新八戒怎么控制牌型,手段教程(有挂神器)1、玩家可以在新八戒怎么控...
此事备受玩家关注!aapoke... 此事备受玩家关注!aapoker辅助插件工具,手机卡五星辅助软件,窍门教程(有挂细节)该软件可以轻松...
插件辅助挂!wepoker辅助... 插件辅助挂!wepoker辅助透视软件,连连看辅助器,指引教程(有挂功能)连连看辅助器脚本下载中分为...
此事迅速冲上热搜!德普之星怎么... 此事迅速冲上热搜!德普之星怎么开辅助,微乐钻石兑换码,项目教程(有挂方法)微乐钻石兑换码透视方法中分...
黑科技技巧!德州局怎么透视,福... 黑科技技巧!德州局怎么透视,福建兄弟13水破解版插件,窍要教程(有挂方法)一、福建兄弟13水破解版插...
有消息称!wepoker怎么设... 有消息称!wepoker怎么设置透视,微信小程序中至上饶麻将有挂,攻略教程(有挂规律)一、微信小程序...
现有说明如下!wepokerp... 现有说明如下!wepokerplus到底是挂了吗,超级三加一控制,指南教程(有挂存在)1、下载好超级...
现有说明如下!wepoker黑... 现有说明如下!wepoker黑侠辅助器,雀姬无限钻石辅助,课程教程(真是有挂)1、在雀姬无限钻石辅助...
技巧辅助挂!拱趴大菠萝万能辅助... 技巧辅助挂!拱趴大菠萝万能辅助器,潘潘讲故事辅助器,策略教程(有挂方略)1、潘潘讲故事辅助器免费辅助...