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

相关内容

热门资讯

今日焦点!天天开心王国辅助器(... 今日焦点!天天开心王国辅助器(辅助挂)本来真的是有辅助app(有挂总结)1)天天开心王国辅助器有没有...
一分钟揭秘!上饶打炸漏洞(辅助... 一分钟揭秘!上饶打炸漏洞(辅助挂)确实是真的有辅助工具(有挂攻略)1.上饶打炸漏洞 选牌创建新账号,...
最终!潮友辅助开挂(辅助挂)都... 最终!潮友辅助开挂(辅助挂)都是是真的有辅助脚本(有挂分析)潮友辅助开挂辅助器是一种具有地方特色的麻...
程序员教你!途游四川辅助器是真... 程序员教你!途游四川辅助器是真的吗(辅助挂)总是确实有辅助插件(有挂实锤)1、实时途游四川辅助器是真...
一起来探讨!福州十八扑外挂(辅... 一起来探讨!福州十八扑外挂(辅助挂)一直确实有辅助攻略(真的有挂)所有人都在同一条线上,像星星一样排...
不少玩家反映!山西打锅子技巧(... 不少玩家反映!山西打锅子技巧(辅助挂)原来存在有辅助方法(有挂方法)1、打开软件启动之后找到中间准星...
推荐一款!微信小程序雀神辅助器... 推荐一款!微信小程序雀神辅助器(辅助挂)确实真的是有辅助app(有挂秘笈)微信小程序雀神辅助器破解侠...
重大来袭!手机卡五星辅助软件(... 重大来袭!手机卡五星辅助软件(辅助挂)确实是有辅助技巧(有挂技巧)1、完成手机卡五星辅助软件有辅助插...
重大推荐!微信小程序青龙大厅辅... 重大推荐!微信小程序青龙大厅辅助(辅助挂)原来确实有辅助app(讲解有挂)微信小程序青龙大厅辅助辅助...
技术分享!崇阳斗棋辅助脚本视频... 技术分享!崇阳斗棋辅助脚本视频(辅助挂)真是确实有辅助挂(有挂功能)1、进入游戏-大厅左侧-新手福利...