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

相关内容

热门资讯

透明教程(aapoker外挂)... 《aapoker外挂软件透明挂》是一款多人竞技的aapoker外挂辅助透视游戏,你将微扑克对手来到同...
透视ai(Wepoke助手)外... 透视ai(Wepoke助手)外挂透明挂辅助(透视)软件透明挂(2025已更新)(哔哩哔哩)是一款可以...
透视透明(拱趴大菠萝免费)外挂... 透视透明(拱趴大菠萝免费)外挂透明挂辅助(透视)辅助透视(2022已更新)(哔哩哔哩)是一款可以让一...
透视苹果版(竞技联盟)原来是真... 透视苹果版(竞技联盟)原来是真的有辅助挂,太过分了原来真的是有辅助挂的(2021已更新)(哔哩哔哩)...
透视科技(WPK外挂)外挂透视... 透视科技(WPK外挂)外挂透视辅助器(2022)原来有挂的(2023已更新)(哔哩哔哩)是一款可以让...
透明科技(德扑线上房间)原来真... 您好:德扑线上房间 这款游戏可以开挂,确实是有挂的,需要了解加微【136704302】很多玩家在这款...
透视了解(德扑之星埋牌)透明挂... 您好,德扑之星埋牌这款游戏可以开挂的,确实是有挂的,需要了解加微【487309276】很多玩家在这款...
透视黑科技(Hhpoker)外... 透视黑科技(Hhpoker)外挂透明挂辅助(透视)软件透明挂(2021已更新)(哔哩哔哩);Hhpo...
透明透视(wepoke德扑之星... 您好,wepoke德扑之星这款游戏可以开挂的,确实是有挂的,需要了解加微【757446909】很多玩...
透视好友房(wepoke美元局... 您好:wepoke美元局 这款游戏可以开挂,确实是有挂的,需要了解加微【285696317】很多玩家...