使用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、该软件可以轻松地...
最终!拱趴大菠萝万能辅助器(透... 您好,拱趴大菠萝万能辅助器这款游戏可以开挂的,确实是有挂的,需要了解加去威信【136704302】很...
专业透视!we-poker辅助... 专业透视!we-poker辅助软件教程!盘点一款辅助挂(有挂详细)-哔哩哔哩1、每一步都需要思考,不...
透视透视!德普之星透视软件免费... 透视透视!德普之星透视软件免费入口官网(透视)一直是有辅助修改器(有挂实锤)-哔哩哔哩1、德普之星透...
普及透视!wepoker高级辅... 普及透视!wepoker高级辅助!玩家必备科普辅助神器(有挂教程)-哔哩哔哩普及透视!wepoker...
据玩家消息!pokerworl... 据玩家消息!pokerworld软件(透视)其实是有辅助插件(真是有挂)-哔哩哔哩运pokerwor...
开挂透视!约局吧游戏挂!玩家必... 开挂透视!约局吧游戏挂!玩家必看科普辅助器(有挂秘籍)-哔哩哔哩该软件可以轻松地帮助玩家将约局吧游戏...
透视透视挂!hhpoker辅助... 透视透视挂!hhpoker辅助挂是真的吗(透视)切实存在有辅助神器(有挂规律)-哔哩哔哩1、每一步都...
解迷透视!aapoker怎么选... 解迷透视!aapoker怎么选牌!一分钟揭秘辅助挂(有挂规律)-哔哩哔哩;aapoker怎么选牌透视...
透视总结!wepoker祈福有... 透视总结!wepoker祈福有用吗(透视)都是有辅助app(真的有挂)-哔哩哔哩wepoker祈福有...