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

相关内容

热门资讯

推荐一款"aa po... 推荐一款"aa poker有外挂吗"AApoker透视辅助器安装教程(真是是真的有挂)-哔哩哔哩进入...
黑科技模拟器“wepokeai... 黑科技模拟器“wepokeai代打”wepoke有挂(透明黑科技)确实有挂(有挂方法)-哔哩哔哩1、...
玩家必看科普!“wpk到底有没... 玩家必看科普!“wpk到底有没有外挂”wpk辅助神器(wPK)固有是有挂(证实有挂)-哔哩哔哩(1)...
一分钟揭秘"aapo... 一分钟揭秘"aapoker真的有猫腻吗"aapoker透视辅助(竟然是真的有挂)-哔哩哔哩1、全新机...
黑科技脚本“wepoke有没有... 黑科技脚本“wepoke有没有挂”wepoke有没有辅助挂(智能ai)其实有挂(真实有挂)-哔哩哔哩...
一分钟了解!“wpk到底有没有... 一分钟了解!“wpk到底有没有外挂”wpk辅助软件叫什么(WPk)其实真的是有挂(有挂实锤)-哔哩哔...
终于懂了"aapok... 终于懂了"aapoker真的有猫腻吗"aapoker透明挂下载(切实是真的有挂)-哔哩哔哩在进入aa...
黑科技工具“wepoke智能a... 黑科技工具“wepoke智能ai”wepoke智能ai(辅助挂)原来有挂(有挂详细)-哔哩哔哩;1、...
信息共享“wpk最新黑科技”w... 信息共享“wpk最新黑科技”wpk有伙牌吗(WPk)其实真的有挂(有挂功能)-哔哩哔哩是一款可以让一...
实测交流"aapok... 实测交流"aapoker真的有猫腻吗"aapoker辅助工具存在吗(真是真的是有挂)-哔哩哔哩1、上...