使用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作弊方法,德普之星私人局辅助器,手筋教程(有挂透视)1、德普之星私人局辅助...
第七分钟辅助!智星菠萝有挂吗,... 第七分钟辅助!智星菠萝有挂吗,智星德州可以透视吗,诀窍教程(有挂规律)该软件可以轻松地帮助玩家将智星...
第5分钟辅助!hhpoker作... 第5分钟辅助!hhpoker作弊码,hh poker透视器下载,课程教程(有挂秘笈)1、hh pok...
一分钟辅助!wpk俱乐部有没有... 一分钟辅助!wpk俱乐部有没有辅助,wepoker私人局辅助挂,诀窍教程(有挂解密)1、下载好wpk...
第2分钟辅助!sohoo竞技联... 第2分钟辅助!sohoo竞技联盟辅助器,pokermaster辅助器,手筋教程(有挂神器)1、soh...
第六分钟辅助!htx矩阵wep... 第六分钟辅助!htx矩阵wepoker辅助,hhpkoer辅助挂是真的吗,指南教程(有挂解密)1、游...
第七分钟辅助!哈糖大菠萝可以开... 第七分钟辅助!哈糖大菠萝可以开挂吗,佛手大菠萝有挂吗,技法教程(有挂详情)哈糖大菠萝可以开挂吗脚本下...
3分钟辅助!pokemmo手机... 3分钟辅助!pokemmo手机版透视脚本,xpoker辅助助手,指南书教程(有挂头条)1、pokem...
6分钟辅助!wepoker好友... 6分钟辅助!wepoker好友局透视,wepoker怎么挂底牌,指引教程(有挂攻略)1、wepoke...
六分钟辅助!wepoker私人... 六分钟辅助!wepoker私人辅助器,竞技联盟透视插件,方式教程(有挂教学)1、不需要AI权限,帮助...