使用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、许多玩家不知道哈糖大...
透视窍门!aapoker透视脚... 透视窍门!aapoker透视脚本(透视)一直真的是有辅助安装(哔哩哔哩)aapoker透视脚本脚本下...
教你透视!拱趴大菠萝挂,soh... 教你透视!拱趴大菠萝挂,sohoo poker辅助(透视)真是有辅助插件(哔哩哔哩)1、完成拱趴大菠...
透视指南书!wepoker插件... 透视指南书!wepoker插件下载(透视)其实有辅助辅助器(哔哩哔哩)所有人都在同一条线上,像星星一...
教你透视!菠萝德州透视脚本,p... 教你透视!菠萝德州透视脚本,pokemmo手机辅助软件(透视)确实一直都是有辅助软件(哔哩哔哩)1、...
透视妙计!htx矩阵wepok... 透视妙计!htx矩阵wepoker辅助(透视)原来真的是有辅助app(哔哩哔哩)1、金币登录送、破产...
透视诀窍!hhpoker可以开... 透视诀窍!hhpoker可以开挂吗(透视)切实有辅助神器(哔哩哔哩)1、下载好hhpoker可以开挂...
了解透视!pokerworld... 了解透视!pokerworld软件,hardrock透视工具(透视)果然存在有辅助插件(哔哩哔哩)1...
透视手册!wpk私人局有透视吗... 透视手册!wpk私人局有透视吗(透视)真是真的是有辅助app(哔哩哔哩)1、wpk私人局有透视吗免费...
分享透视!pokemmo辅助器... 分享透视!pokemmo辅助器脚本下载,pokerrrr2辅助(透视)总是是真的有辅助神器(哔哩哔哩...