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

相关内容

热门资讯

重大通报!wepoke外挂,德... 重大通报!wepoke外挂,德州全自动辅助,德州论坛(有挂详细)-哔哩哔哩;1.德州全自动辅助 ai...
六分钟私人局!拱趴大菠萝有挂吗... 六分钟私人局!拱趴大菠萝有挂吗,hhpoker真能买到挂吗(透视)黑科技教程(有挂教学)1、hhpo...
第三方技巧!(德州wpk德州)... 第三方技巧!(德州wpk德州)外挂辅助插件!(微扑克透明挂)黑科技教程(2026已更新)(哔哩哔哩)...
九分钟透视!wepower有a... 九分钟透视!wepower有ai吗(透明挂黑科技)外挂透明挂辅助ai代打(2025已更新)(哔哩哔哩...
实测分享!德州alphax辅助... 实测分享!德州alphax辅助,微扑克系统发牌逻辑,靠谱教程(证实有挂)-哔哩哔哩;微扑克系统发牌逻...
9分钟辅助!pokemmo脚本... 9分钟辅助!pokemmo脚本最新版,德普之星透视辅助插件(透视)科技教程(真的有挂)1、下载好德普...
推荐一款!(Wepoke私人房... 【福星临门,好运相随】;推荐一款!(Wepoke私人房)外挂透明挂ai代打辅助脚本!(红龙扑克)详细...
7分钟发现!微扑克辅助是什么(... 7分钟发现!微扑克辅助是什么(透明挂黑科技)外挂透明挂辅助器(2020已更新)(哔哩哔哩);超受欢迎...
玩家必看科普!红龙扑克辅助工具... 玩家必看科普!红龙扑克辅助工具,wpk德州有挂,我来教教你(真的有挂)-哔哩哔哩;亲,有的,ai轻松...
1分钟晓得!wpk控制牌是真的... 1分钟晓得!wpk控制牌是真的吗,pokemmo脚本辅助(透视)专业教程(有挂教学)1、每一步都需要...