使用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、不需要AI权限,帮...
透视规律!哈糖大菠萝辅助器,w... 透视规律!哈糖大菠萝辅助器,wepoker私人定制透视,举措教程(有挂方略)-哔哩哔哩1.wepok...
四分钟神器!钱塘十三水辅助,佛... 四分钟神器!钱塘十三水辅助,佛手在线辅助,果然是真的挂(有挂功能)-哔哩哔哩该软件可以轻松地帮助玩家...
透视软件!wepoker好友助... 透视软件!wepoker好友助力码,哈糖大菠萝怎么挂,绝活教程(有挂透视)-哔哩哔哩1、操作简单,无...
第9分钟教程!四海茶馆游戏辅助... 第9分钟教程!四海茶馆游戏辅助,闲来辅助神器下载,果然真的是有挂(发现有挂)-哔哩哔哩闲来辅助神器下...
透视最新!德普之星怎么开辅助,... 透视最新!德普之星怎么开辅助,xpoker辅助控制,演示教程(有挂规律)-哔哩哔哩1、打开软件启动之...
透视攻略!xpoker辅助控制... 透视攻略!xpoker辅助控制,wpk俱乐部是真的吗,总结教程(有挂攻略)-哔哩哔哩1、下载好wpk...
1分钟脚本!小南娱乐科技,蜀山... 1分钟脚本!小南娱乐科技,蜀山四川辅助脚本,竟然存在有挂(有挂方针)-哔哩哔哩小薇(透视辅助)致您一...
透视私人局!pokemmo辅助... 透视私人局!pokemmo辅助脚本,hhpoker真的假的,演示教程(有挂存在)-哔哩哔哩1、pok...
1分钟攻略!随意玩透视辅助,约... 1分钟攻略!随意玩透视辅助,约战竞技场辅助器,一贯有挂(真是有挂)-哔哩哔哩1、约战竞技场辅助器系统...