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

相关内容

热门资讯

透视绝活儿!微扑克微乐辅助,W... 透视绝活儿!微扑克微乐辅助,WPK链接竟然是真的有工具,第4分钟教程(真的有挂)一、微扑克微乐辅助游...
透视策略!拱趴大菠萝有什么挂,... 透视策略!拱趴大菠萝有什么挂,欢聚水鱼脚本下载(辅助)原来真的是有软件(哔哩哔哩)暗藏猫腻,小编详细...
第3分钟指南!樱花之盛能不能开... 第3分钟指南!樱花之盛能不能开挂,九酷互娱辅助(辅助)真是真的是有下载(哔哩哔哩)樱花之盛能不能开挂...
脚本必备!wpk有辅助器吗,w... 脚本必备!wpk有辅助器吗,wpk透视插件(透视)好像真的有app(哔哩哔哩)1、脚本辅助下载、免费...
透视手段!aapoker怎么选... 透视手段!aapoker怎么选牌,AApoker软件都是真的有开挂,第六分钟教程(有挂方针)1、超多...
透视步骤!xpoker辅助怎么... 透视步骤!xpoker辅助怎么用,奇迹陕西游戏辅助挂(辅助)都是真的有脚本(哔哩哔哩)1、许多玩家不...
五分钟手段!哥哥打大a辅助,新... 五分钟手段!哥哥打大a辅助,新玄龙小程序辅助(辅助)一直是有下载(哔哩哔哩)1、完成新玄龙小程序辅助...
脚本分享!hhpoker一直输... 脚本分享!hhpoker一直输有挂吗,hhpoker德州机器人(透视)果然真的有攻略(哔哩哔哩)1、...
透视妙招!德普之星有辅助软件吗... 透视妙招!德普之星有辅助软件吗,德普之星私人局本来真的有开挂,六分钟教程(证实有挂)1、德普之星有辅...
透视法门!pokemomo辅助... 透视法门!pokemomo辅助工具,新蜜瓜房卡大厅辅助科技(辅助)原来是有技巧(哔哩哔哩)1、这是跨...