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

相关内容

热门资讯

推荐透视!pokemmo手机版... 推荐透视!pokemmo手机版脚本免费,微信微乐游戏有辅助吗,讲义教程(果真有挂)-哔哩哔哩1、下载...
推荐十款!!菠萝辅助器免费版的... 推荐十款!!菠萝辅助器免费版的特点,pokemmo手机辅助软件,法子教程(有挂详细)-哔哩哔哩1、上...
揭露透视!拱趴大菠萝万能挂图解... 揭露透视!拱趴大菠萝万能挂图解!一贯真的是有辅助攻略(有挂实锤)-哔哩哔哩1、拱趴大菠萝万能挂图解免...
详情透视!wepoker游戏安... 详情透视!wepoker游戏安装教程,wepoker有没有机器人,指南教程(有挂教学)-哔哩哔哩we...
了解透视!wepoker透视功... 了解透视!wepoker透视功能下载,微信小程序微乐房间怎么辅助,办法教程(有挂教程)-哔哩哔哩在进...
最新技巧!!传送屋app辅助脚... 最新技巧!!传送屋app辅助脚本下载,wepoker有没有插件,指南教程(证实有挂)-哔哩哔哩1、全...
揭幕透视!pokemmo免费脚... 揭幕透视!pokemmo免费脚本!本来是有辅助插件(有挂工具)-哔哩哔哩1.pokemmo免费脚本 ...
揭幕透视!wepoker辅助透... 揭幕透视!wepoker辅助透视软件,epoker免费透视脚本,手段教程(果真有挂)-哔哩哔哩1)w...
普及透视!poker worl... 普及透视!poker world辅助器,微乐自建房辅助可信吗,攻略教程(有挂解密)-哔哩哔哩1、游戏...
玩家必用!潮汕汇软件辅助,we... 玩家必用!潮汕汇软件辅助,wepokerplus开挂,要领教程(发现有挂)-哔哩哔哩1、在潮汕汇软件...