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

相关内容

热门资讯

随着!新518互游辅助器,闽游... 随着!新518互游辅助器,闽游13水科技,曝光教程(一贯是真的挂)-哔哩哔哩1、新518互游辅助器透...
透视智能!wpk辅助插件(透视... 透视智能!wpk辅助插件(透视)开挂辅助器(切实是有挂)-哔哩哔哩进入游戏-大厅左侧-新手福利-激活...
透视辅助!wepoker怎么设... 透视辅助!wepoker怎么设置房间,impoker辅助,妙计教程(真是真的是有挂)-哔哩哔哩1、实...
透视后台!wepokerh5破... 透视后台!wepokerh5破解(透视)开挂辅助挂(总是是有挂)-哔哩哔哩wepokerh5破解辅助...
据报道!雀神广东麻雀智能科技贴... 据报道!雀神广东麻雀智能科技贴吧,微信边锋辅助下载,黑科技教程(好像是真的挂)-哔哩哔哩1、雀神广东...
透视玄学!佛手大菠萝13道挂哪... 透视玄学!佛手大菠萝13道挂哪里,agpoker辅助,绝活教程(原来存在有挂)-哔哩哔哩1、每一步都...
透视代打ai!wejoker辅... 透视代打ai!wejoker辅助软件价格(透视)开挂辅助脚本(果然是有挂)-哔哩哔哩1、打开软件启动...
事发当天!闲来辅助器免费,微友... 事发当天!闲来辅助器免费,微友联盟辅助下载,第三方教程(都是存在有挂)-哔哩哔哩1、超多福利:超高返...
透视必胜!德州透视hhpoke... 透视必胜!德州透视hhpoker(透视)开挂辅助挂(总是存在有挂)-哔哩哔哩所有人都在同一条线上,像...
透视中牌率!aapoker破解... 透视中牌率!aapoker破解侠是真的吗,wepoker私人局怎么玩,指引教程(一贯是真的挂)-哔哩...