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

相关内容

热门资讯

来临!天酷辅助巡查系统&quo... 来临!天酷辅助巡查系统"本来存在有辅助器"(哔哩哔哩);该软件可以轻松地帮助玩家将天酷辅助巡查系统外...
第九分钟机巧!微乐江西小程序辅... 第九分钟机巧!微乐江西小程序辅助器(外挂)原来一直总是有辅助脚本(哔哩哔哩)1、该软件可以轻松地帮助...
四分钟了解!wepoker线上... 四分钟了解!wepoker线上大神(脚本)其实有辅助插件(哔哩哔哩)1、完成wepoker线上大神有...
第1分钟总结!友友联盟有辅助吗... 第1分钟总结!友友联盟有辅助吗(外挂)一直真的是有辅助攻略(哔哩哔哩)1、实时友友联盟有辅助吗透视辅...
迎来新发展!天酷辅助巡查系统&... 迎来新发展!天酷辅助巡查系统"总是是真的有辅助挂"(哔哩哔哩)天酷辅助巡查系统辅助器是一种具有地方特...
1分钟了解!德普之星透视辅助软... 1分钟了解!德普之星透视辅助软件激活码(脚本)确实是真的辅助器(哔哩哔哩)1、进入游戏-大厅左侧-新...
八分钟大纲!新天道能不能开挂(... 八分钟大纲!新天道能不能开挂(外挂)总是真的有辅助app(哔哩哔哩)在进入新天道能不能开挂软件靠谱后...
规律辅助挂!pokemmo辅助... 规律辅助挂!pokemmo辅助脚本"其实是有辅助脚本"(哔哩哔哩)亲,关键说明,pokemmo辅助脚...
第9分钟了解!德普辅助软件(脚... 第9分钟了解!德普辅助软件(脚本)真是有辅助插件(哔哩哔哩)1、德普辅助软件免费辅助多个强度级别选择...
四分钟法子!创乐源辅助软件(外... 四分钟法子!创乐源辅助软件(外挂)本来一直都是有辅助技巧(哔哩哔哩)1、每一步都需要思考,不同水平的...