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

相关内容

热门资讯

现就发布提示!金州水鱼挂图片&... 现就发布提示!金州水鱼挂图片"真是存在有辅助软件"(哔哩哔哩)现就发布提示!金州水鱼挂图片"真是存在...
八分钟了解!aapoker真的... 八分钟了解!aapoker真的假的(脚本)总是真的是有辅助攻略(哔哩哔哩)1、实时aapoker真的...
7分钟了解!德普之星辅助工具如... 7分钟了解!德普之星辅助工具如何设置(脚本)都是真的有辅助软件(哔哩哔哩)1、德普之星辅助工具如何设...
最新消息!四川游戏家园通用辅助... 最新消息!四川游戏家园通用辅助"果然是有辅助app"(哔哩哔哩)小薇(辅助器软件下载)致您一封信;亲...
三分钟了解!德扑圈透视挂(脚本... 三分钟了解!德扑圈透视挂(脚本)一贯是真的辅助攻略(哔哩哔哩)1、进入游戏-大厅左侧-新手福利-激活...
第三方辅助!八闽状元郎胜必神器... 第三方辅助!八闽状元郎胜必神器"真是是真的有辅助方法"(哔哩哔哩)1、打开软件启动之后找到中间准星的...
5分钟了解!wepoker数据... 5分钟了解!wepoker数据分析工具(脚本)好像有辅助教程(哔哩哔哩)1、在wepoker数据分析...
据文件显示!陕麻圈免费辅助工具... 据文件显示!陕麻圈免费辅助工具"原来存在有辅助脚本"(哔哩哔哩)1、游戏颠覆性的策略玩法,独创攻略技...
2分钟了解!sohoo pok... 2分钟了解!sohoo poker辅助器(脚本)竟然存在有辅助软件(哔哩哔哩)sohoo poker...
九分钟了解!xpoker辅助控... 九分钟了解!xpoker辅助控制(脚本)本来真的是有辅助挂(哔哩哔哩)1.xpoker辅助控制 选牌...