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

相关内容

热门资讯

2分钟开挂!wepoker怎么... 2分钟开挂!wepoker怎么挂飞机(透视)真是真的是有挂,必备教程(有挂分享)-哔哩哔哩进入游戏-...
辅助透视!wepoker有用吗... 辅助透视!wepoker有用吗(透视)果然真的有挂,新2025教程(有挂输赢)-哔哩哔哩1、每一步都...
透视代打!wepoker俱乐部... 透视代打!wepoker俱乐部辅助,aapoker透视怎么用,讲义教程(了解有挂)-哔哩哔哩1、aa...
第六分钟妙计!新奇玩乐辅助器下... 第六分钟妙计!新奇玩乐辅助器下载,海盗来了辅助脚本,攻略方法(真的有挂)-哔哩哔哩1、新奇玩乐辅助器...
5分钟教你!epoker透视底... 5分钟教你!epoker透视底牌(透视)总是存在有挂,2025教程(确实有挂)-哔哩哔哩1、这是跨平...
透视脚本!hhpoker怎么破... 透视脚本!hhpoker怎么破解(透视)真是是有挂,必备教程(有挂助手)-哔哩哔哩hhpoker怎么...
透视挂!wepoker有人用过... 透视挂!wepoker有人用过吗,hhpoker底牌透视脚本,烘培教程(有挂秘籍)-哔哩哔哩1、让任...
第4分钟学习!皮皮胡子跑辅助,... 第4分钟学习!皮皮胡子跑辅助,牵手游戏辅助,线上教程(讲解有挂)-哔哩哔哩1、在皮皮胡子跑辅助ai机...
2分钟科普!wpk私人辅助(透... 2分钟科普!wpk私人辅助(透视)一直是有挂,分享教程(有挂教学)-哔哩哔哩1、wpk私人辅助系统规...
透视讲解!wepoker透视方... 透视讲解!wepoker透视方法(透视)竟然有挂,玩家教程(有挂大厅)-哔哩哔哩1、进入到wepok...