使用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、完成多乐够级辅助软件有辅...
6分钟了解!小程序蜀山四川免费... 6分钟了解!小程序蜀山四川免费辅助器,情怀莆仙到底是不是有挂,指南书教程(有挂攻略)-哔哩哔哩一、小...
一直以来!威信茶馆跑辅助器(辅... 一直以来!威信茶馆跑辅助器(辅助)其实真的是有辅助app(果真有挂)-哔哩哔哩所有人都在同一条线上,...
第八分钟了解!yy比鸡辅助下载... 第八分钟了解!yy比鸡辅助下载链接在哪里,新鸿狐脚本,指引教程(有挂透视)-哔哩哔哩1、第八分钟了解...
此事迅速冲上热搜!攒劲甘肃攒劲... 此事迅速冲上热搜!攒劲甘肃攒劲辅助(辅助)竟然是真的辅助平台(有挂神器)-哔哩哔哩1、玩家可以在攒劲...
第六分钟了解!打两圈怀疑有外g... 第六分钟了解!打两圈怀疑有外g挂,游戏黑科技辅助器,模块教程(有挂实锤)-哔哩哔哩打两圈怀疑有外g挂...
一直以来!花城牌舍怎么设置辅助... 一直以来!花城牌舍怎么设置辅助(辅助)好像真的是有辅助辅助器(有挂秘诀)-哔哩哔哩1、该软件可以轻松...
九分钟了解!天天贵州万能辅助器... 九分钟了解!天天贵州万能辅助器,四川家园茶馆辅助,窍要教程(有挂分享)-哔哩哔哩1、天天贵州万能辅助...
八分钟了解!广东雀神智能插件安... 八分钟了解!广东雀神智能插件安装包免费,盛世辅助插件,教程书教程(有挂攻略)-哔哩哔哩1、让任何用户...
随着!闲逸软件安卓版(辅助)总... 随着!闲逸软件安卓版(辅助)总是有辅助安装(有挂教学)-哔哩哔哩1、该软件可以轻松地帮助玩家将闲逸软...