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

相关内容

热门资讯

推荐十款辅助器!西域棋牌辅助器... 推荐十款辅助器!西域棋牌辅助器多功能AI工具,西域棋牌好像是真的有辅助器工具该软件可以轻松地帮助玩家...
推荐一款透视挂!蜂娱棋牌透视挂... 推荐一款透视挂!蜂娱棋牌透视挂多功能AI方法,蜂娱棋牌果然是真的有透视挂方法1、每一步都需要思考,不...
玩家必备科技外挂!万家欢游戏外... 玩家必备科技外挂!万家欢游戏外挂多功能AI技巧,万家欢游戏一直存在有外挂技巧1、下载好万家欢游戏正确...
技术分享透视挂!多乐山东麻将透... 技术分享透视挂!多乐山东麻将透视挂多功能AIapp,多乐山东麻将总是是有透视挂app多乐山东麻将脚本...
必知教程作弊器!江陵城作弊器多... 必知教程作弊器!江陵城作弊器多功能AI技巧,江陵城果然真的有作弊器技巧1、进入到江陵城是否有挂之后,...
三分钟了解透视挂!小松宿松麻将... 三分钟了解透视挂!小松宿松麻将透视挂多功能AI技巧,小松宿松麻将好像真的有透视挂技巧1、让任何用户在...
每日必看教程辅助器!丽水都莱辅... 每日必看教程辅助器!丽水都莱辅助器多功能AI软件,丽水都莱确实真的有辅助器软件1.丽水都莱 选牌创建...
今日头条辅助!微友南昌麻将辅助... 今日头条辅助!微友南昌麻将辅助多功能AI脚本,微友南昌麻将确实有辅助脚本1.微友南昌麻将 选牌创建新...
玩家必备教程辅助器!微乐长春麻... 玩家必备教程辅助器!微乐长春麻将辅助器多功能AI插件,微乐长春麻将都是存在有辅助器插件1、任何微乐长...
一分钟了解开挂!宁夏麻将开挂多... 一分钟了解开挂!宁夏麻将开挂多功能AI工具,宁夏麻将一贯是有开挂工具;1、宁夏麻将免费辅助多个强度级...