使用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、下载好微信小程序边...
第九分钟模块!中至赣牌圈有没有... 第九分钟模块!中至赣牌圈有没有辅助(脚本)一直是真的有辅助神器(哔哩哔哩)1、中至赣牌圈有没有辅助模...
第8分钟妙计!哥哥打大a辅助(... 第8分钟妙计!哥哥打大a辅助(脚本)一贯是有辅助神器(哔哩哔哩)一、哥哥打大a辅助可以开透视的定义与...
三分钟机巧!友友辅助免费辅助器... 三分钟机巧!友友辅助免费辅助器(脚本)一直真的有辅助神器(哔哩哔哩)1、打开软件启动之后找到中间准星...
三分钟模块!乐酷有没有挂(脚本... 三分钟模块!乐酷有没有挂(脚本)原来一直总是有辅助攻略(哔哩哔哩)乐酷有没有挂能透视中分为三种模型:...
七分钟要领!都莱辅助软件(脚本... 七分钟要领!都莱辅助软件(脚本)总是一直都是有辅助app(哔哩哔哩)1、玩家可以在都莱辅助软件线上大...
六分钟学习!闲逸游戏插件(脚本... 六分钟学习!闲逸游戏插件(脚本)好像有辅助软件(哔哩哔哩)1、闲逸游戏插件透视辅助软件激活码多个强度...
第六分钟方式!微信小程序蜀山辅... 第六分钟方式!微信小程序蜀山辅助器(脚本)原来是有辅助app(哔哩哔哩)微信小程序蜀山辅助器破解侠是...
三分钟绝活!微信小游戏辅助器(... 三分钟绝活!微信小游戏辅助器(脚本)确实是有辅助方法(哔哩哔哩);1)微信小游戏辅助器有没有挂:进一...
第6分钟诀窍!福建兄弟水挂(脚... 第6分钟诀窍!福建兄弟水挂(脚本)切实一直总是有辅助脚本(哔哩哔哩)1、该软件可以轻松地帮助玩家将福...