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

相关内容

热门资讯

反观!朋朋政和辅助器免费在哪里... 反观!朋朋政和辅助器免费在哪里,九九联盟辅助(好像真的有脚本)-哔哩哔哩朋朋政和辅助器免费在哪里脚本...
详情透视!wepoker怎么看... 详情透视!wepoker怎么看牌型,wepoker有透视吗,其实一直都是有辅助技巧(哔哩哔哩)1、上...
做出回应!海螺众娱辅助脚本,潮... 做出回应!海螺众娱辅助脚本,潮友软件辅助器脚本(确实是有器)-哔哩哔哩一、潮友软件辅助器脚本可以开透...
解迷透视!德扑圈透视挂,德普软... 解迷透视!德扑圈透视挂,德普软件,一贯真的是有辅助脚本(哔哩哔哩)透视方法中分为三种模型:靠谱、辅助...
随着!上饶中至辅助软件怎么用,... 随着!上饶中至辅助软件怎么用,多乐手游辅助(总是是有器)-哔哩哔哩1、玩家可以在上饶中至辅助软件怎么...
专业透视!aapoker插件下... 专业透视!aapoker插件下载,aapoker插件,真是有辅助神器(哔哩哔哩);1、用户打开应用后...
据了解!余干中至怎么输就一直输... 据了解!余干中至怎么输就一直输,熊猫透视辅助无需卡密版(确实真的有app)-哔哩哔哩1、余干中至怎么...
教你透视!aapoker万能辅... 教你透视!aapoker万能辅助器,aapoker发牌逻辑,一直有辅助神器(哔哩哔哩)1、不需要AI...
据报道!闲逸510k辅助软件,... 据报道!闲逸510k辅助软件,闲聚鱼虾蟹软件脚本辅助器(本来有挂平台)-哔哩哔哩1、完成闲聚鱼虾蟹软...
了解透视!wpk有那种辅助吗,... 了解透视!wpk有那种辅助吗,wpk可以作比弊吗,竟然存在有辅助教程(哔哩哔哩)1、玩家可以在线上大...