使用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有人用过吗,wepoker破解版内购,办法教程(揭秘有挂)-哔哩哔哩1、实时...
详情透视!xpoker辅助控制... 详情透视!xpoker辅助控制!一直是真的有辅助app(有挂实锤)-哔哩哔哩1、让任何用户在无需xp...
据目击者称!逸趣麻将修改器(辅... 据目击者称!逸趣麻将修改器(辅助)一直真的有辅助软件(有挂详情)-哔哩哔哩一、逸趣麻将修改器游戏安装...
重大消息!雀神广东麻雀智能科技... 重大消息!雀神广东麻雀智能科技贴吧,wepoker破解版内购,操作教程(有挂教学)-哔哩哔哩1)雀神...
解谜透视!wepoker软件靠... 解谜透视!wepoker软件靠谱么,wpk是真的还是假的,模块教程(有挂神器)-哔哩哔哩1、wpk是...
截至发稿!威信闲来辅助神器ap... 截至发稿!威信闲来辅助神器app(辅助)原来存在有辅助工具(的确有挂)-哔哩哔哩运威信闲来辅助神器a...
推荐透视!cloudpoker... 推荐透视!cloudpoker外开挂!其实存在有辅助脚本(有挂透视)-哔哩哔哩1、cloudpoke...
一分钟了解!!大唐麻将系统,w... 一分钟了解!!大唐麻将系统,wejoker免费脚本,资料教程(有挂教学)-哔哩哔哩一、大唐麻将系统游...
曝光透视!pokemmo手机版... 曝光透视!pokemmo手机版脚本,hhpoker是真的还是假的,诀窍教程(有挂细节)-哔哩哔哩1、...
了解透视!智星德州插件最新版本... 了解透视!智星德州插件最新版本更新内容详解!切实是有辅助方法(有挂分析)-哔哩哔哩1、实时智星德州插...