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

相关内容

热门资讯

黑科技代打(wepoke智能a... 黑科技代打(wepoke智能ai)wepokeapp下载教程(wEpoke)一直有挂(真的有挂)-哔...
黑科技中牌率(wepoke真的... 黑科技中牌率(wepoke真的有挂)wepoke有辅助吗(Wepoke)从来是真的有挂(有挂技术)-...
黑科技教学(wepoke黑科技... 这是一款非常优秀的 ia辅助检测软件,能够让你了解到中牌率当中全部隐藏参数,与同类被系统制裁软件相比...
黑科技智能ai(wepoke透... 黑科技智能ai(wepoke透明黑科技)wopoker轻量版外挂(wePOke)原本是有挂(有挂讲解...
黑科技玄学(wepoke辅助插... 黑科技玄学(wepoke辅助插件)wepoke软件透明(WEPOke)本然存在有挂(真的有挂)-哔哩...
黑科技脚本(wepoke黑科技... 黑科技脚本(wepoke黑科技)We辅poker助(wePoKe)原生有挂(了解有挂)-哔哩哔哩;揭...
黑科技了解(wepoke黑科技... 《软件透明挂》是一款多人竞技的辅助透视游戏,你将微扑克对手来到同一个战场,为至高无上的荣耀进行一次自...
黑科技辅助(wepoke透明黑... 黑科技辅助(wepoke透明黑科技)wopoker系统机制(wepoker)果然是有挂(有挂存在)-...
黑科技安卓版(wepoke智能... 黑科技安卓版(wepoke智能ai)Wepoke黑科技设备(wepoker)都是有挂(有挂解惑)-哔...
黑科技辅助挂(wepoke透明... 黑科技辅助挂(wepoke透明黑科技)wpeoke软件下载(WEpoke)竟然存在有挂(竟然有挂)-...