使用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、金币登录送、破产送、升级送、...
第8分钟了解!小南四川长牌辅助... 第8分钟了解!小南四川长牌辅助!确实一直都是有辅助方法(有挂详细)-哔哩哔哩运小南四川长牌辅助辅助工...
第2分钟了解!新佛手在线辅助软... 第2分钟了解!新佛手在线辅助软件!一贯是真的有辅助神器(有挂技巧)-哔哩哔哩1、每一步都需要思考,不...
第8分钟了解!决战卡五星游戏辅... 第8分钟了解!决战卡五星游戏辅助器!竟然是有辅助神器(有挂工具)-哔哩哔哩1、全新机制【决战卡五星游...
6分钟了解!广西老友玩有破解码... 6分钟了解!广西老友玩有破解码!确实真的有辅助方法(有挂技术)-哔哩哔哩1、玩家可以在广西老友玩有破...
十分钟了解!大咖娱乐破解器!好... 十分钟了解!大咖娱乐破解器!好像一直都是有辅助方法(有挂方针)-哔哩哔哩1、大咖娱乐破解器免费脚本咨...
七分钟了解!微信微乐小程序辅助... 七分钟了解!微信微乐小程序辅助器免费安装!总是存在有辅助脚本(有挂技巧)-哔哩哔哩1、玩家可以在微信...
5分钟了解!闽游app辅助器可... 5分钟了解!闽游app辅助器可信!原来有辅助教程(竟然有挂)-哔哩哔哩1、很好的工具软件,可以解锁游...
六分钟了解!腾威填大坑辅助!其... 六分钟了解!腾威填大坑辅助!其实真的是有辅助方法(有挂秘笈)-哔哩哔哩1)腾威填大坑辅助辅助插件:进...
两分钟了解!哈糖大菠萝软件下载... 两分钟了解!哈糖大菠萝软件下载!一直存在有辅助技巧(有挂分享)-哔哩哔哩1、哈糖大菠萝软件下载辅助软...