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

相关内容

热门资讯

第九分钟方针!福建天天开心辅助... 第九分钟方针!福建天天开心辅助软件大全(外挂)其实真的是有辅助教程(哔哩哔哩)暗藏猫腻,小编详细说明...
2026版复盘!微友辅助神器下... 2026版复盘!微友辅助神器下载!总是确实有辅助攻略(有挂助手)-哔哩哔哩1、玩家可以在微友辅助神器...
3分钟总结!全民比鸡手游辅助(... 3分钟总结!全民比鸡手游辅助(外挂)其实有辅助方法(哔哩哔哩)1、玩家可以在全民比鸡手游辅助透视最简...
昨日!微信开心十三张脚本!确实... 昨日!微信开心十三张脚本!确实存在有辅助工具(有挂分析)-哔哩哔哩1、不需要AI权限,帮助你快速的进...
六分钟学习!丫丫陕西打锅子辅助... 六分钟学习!丫丫陕西打锅子辅助(外挂)切实存在有辅助工具(哔哩哔哩)1)丫丫陕西打锅子辅助辅助插件:...
技巧辅助挂!多乐辅助器!都是确... 技巧辅助挂!多乐辅助器!都是确实有辅助挂(有挂讲解)-哔哩哔哩1、全新机制【多乐辅助器ai辅助工具激...
3分钟总结!浙江游戏大厅怎么开... 3分钟总结!浙江游戏大厅怎么开挂(外挂)一贯是真的有辅助app(哔哩哔哩)一、浙江游戏大厅怎么开挂游...
目前来看!新道游辅助软件下载!... 目前来看!新道游辅助软件下载!果然真的有辅助器(有人有挂)-哔哩哔哩1、操作简单,无需新道游辅助软件...
第8分钟策略!指尖四川辅助脚本... 第8分钟策略!指尖四川辅助脚本(外挂)竟然是真的有辅助攻略(哔哩哔哩)亲,关键说明,指尖四川辅助脚本...
针对!大菠萝游戏佛手在线辅助怎... 针对!大菠萝游戏佛手在线辅助怎么用!竟然真的有辅助工具(有挂技术)-哔哩哔哩1、针对!大菠萝游戏佛手...