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

相关内容

热门资讯

两分钟了解!浙江游戏大厅辅助(... 两分钟了解!浙江游戏大厅辅助(辅助挂)皮皮跑胡子辅助(2020已更新)(哔哩哔哩);一、浙江游戏大厅...
推荐几款新版!边锋游戏辅助器(... 推荐几款新版!边锋游戏辅助器(辅助挂)!外挂辅助器AI(2023已更新)(哔哩哔哩),边锋游戏辅助器...
玩家交流!((WPK技巧))有... 《WPK技巧软件透明挂》是一款多人竞技的WPK技巧辅助透视游戏,你将微扑克对手来到同一个战场,为至高...
一分钟快速了解!(安女游戏)外... 一分钟快速了解!(安女游戏)外挂辅助脚本(辅助挂)外挂透视辅助识别(2020已更新)(哔哩哔哩);1...
一分钟了解!(老友记)外挂辅助... 一分钟了解!(老友记)外挂辅助工具(辅助挂)外挂透视辅助ai代打(2025已更新)(哔哩哔哩);超受...
记者揭秘!欢喜广西麻将有挂的(... 记者揭秘!欢喜广西麻将有挂的(辅助挂)!外挂透明挂辅助渠道(2022已更新)(哔哩哔哩)记者揭秘!欢...
重大通报!(微扑克)外挂透明挂... 重大通报!(微扑克)外挂透明挂辅助助手(透视)详细教程(2023已更新)(哔哩哔哩);1、点击下载安...
8分钟猫腻!aapoker插件... 8分钟猫腻!aapoker插件(辅助挂)天天开心十三水提高胜率(2020已更新)(哔哩哔哩);小薇(...
教程攻略!((Wepoke软件... 您好,Wepoke软件这款游戏可以开挂的,确实是有挂的,需要了解加微【439369440】很多玩家在...
记者揭秘!(微乐春天扑克)外挂... 记者揭秘!(微乐春天扑克)外挂辅助插件(辅助挂)外挂透明挂辅助长期(2023已更新)(哔哩哔哩);一...