使用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)辅助插件:进一步探索辅助...
分享一款!微乐小程序自建房辅助... 分享一款!微乐小程序自建房辅助!微乐富足和靠谱吗(果然真的是有辅助技巧)暗藏猫腻,小编详细说明破解器...
实测揭晓!微乐小程序自建房辅助... 实测揭晓!微乐小程序自建房辅助!微信小程序微乐辅助器ios(本来有辅助app)透视方法中分为三种模型...
科普攻略!微乐小程序辅助工具!... 科普攻略!微乐小程序辅助工具!微信微乐辅助器使用教程(总是真的是有辅助插件)亲,关键说明,透视脚本安...
免费测试版!微乐小程序自建房辅... 免费测试版!微乐小程序自建房辅助!微乐麻将自建房app(都是真的是有辅助软件)1、很好的工具软件,可...
每日必看教程!微乐小程序自建房... 每日必看教程!微乐小程序自建房辅助!微乐春天小程序辅助(一直真的有辅助器)1、很好的工具软件,可以解...
科技通报!微乐小程序自建房辅助... 科技通报!微乐小程序自建房辅助!微乐家乡app辅助器(其实有辅助插件)1、打开软件启动之后找到中间准...
必备教程!微乐小程序自建房辅助... 必备教程!微乐小程序自建房辅助!微信小程序四川微乐脚本(总是有辅助工具)1、金币登录送、破产送、升级...
信息共享!微乐小程序辅助工具!... 信息共享!微乐小程序辅助工具!微信小程序游戏辅助器(果然是有辅助脚本)1、下载好透视辅助下载之后点击...