当前位置: 代码网 > it编程>数据库>MsSqlserver > 如何使用vscode连接openEuler服务器

如何使用vscode连接openEuler服务器

2024年08月27日 MsSqlserver 我要评论
本地主机准备remote - ssh:服务器准备官方文档提供的提前准备distributionbase requirementsremote - ssh requirementsnotesgenera

本地主机准备

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

端口转发未开启

我们查看sshd 服务配置文件

[root@localhost ~]# cat /etc/ssh/sshd_config

找到以下两个配置

allowtcpforwarding no
allowagentforwarding no

将 ‘ no ‘改为’ yes ‘

allowtcpforwarding yes
allowagentforwarding yes

重启sshd 服务

systemctl restart sshd.service

到此这篇关于如何使用vscode连接openeuler服务器的文章就介绍到这了,更多相关vscode连接openeuler内容请搜索代码网以前的文章或继续浏览下面的相关文章希望大家以后多多支持代码网!

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com