如何使用vscode連接openEuler服務(wù)器
更新時間:2024年08月27日 14:48:53 作者:MarkLee987
這篇文章主要介紹了如何使用vscode連接openEuler服務(wù)器,本文給大家介紹的非常詳細(xì),對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友參考下吧
本地主機準(zhǔn)備
Remote - SSH:

服務(wù)器準(zhǔn)備
官方文檔提供的提前準(zhǔn)備
| Distribution | Base Requirements | Remote - SSH Requirements | Notes |
|---|---|---|---|
| General | kernel >= 4.18, glibc >=2.28, libstdc++ >= 3.4.25, tar | OpenSSH server, bash, and curl or wget | Run 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 Arm32 | libatomic1 | No additional requirements. | |
| Ubuntu 20.04+, Debian 10+, Raspberry Pi OS Buster/10+ and downstream distributions | libc6 libstdc++6 ca-certificates tar | openssh-server bash and curl or wget | Requires kernel >= 4.18, glibc >= 2.28, libstdc++ >= 3.4.25. |
| RHEL / CentOS 8+ | glibc libgcc libstdc++ ca-certificates tar | openssh-server bash and curl or wget | Requires 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 tar | curl or wget | Requires kernel >= 4.18, glibc, libstdc++6 |
針對openEuler的準(zhǔn)備
缺少tar 解壓工具
檢查是否缺少tar解壓工具
[root@localhost ~]# tar -bash: tar:未找到命令
使用以下命令安裝tar
dnf install tar
端口轉(zhuǎn)發(fā)未開啟
我們查看sshd 服務(wù)配置文件
[root@localhost ~]# cat /etc/ssh/sshd_config
找到以下兩個配置
AllowTcpForwarding no AllowAgentForwarding no
將 ‘ no ‘改為’ yes ‘
AllowTcpForwarding yes AllowAgentForwarding yes
重啟sshd 服務(wù)
systemctl restart sshd.service
到此這篇關(guān)于如何使用vscode連接openEuler服務(wù)器的文章就介紹到這了,更多相關(guān)vscode連接openEuler內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
您可能感興趣的文章:
- VSCode如何連接Linux遠(yuǎn)程服務(wù)器
- VScode連接服務(wù)器不用每次都輸入密碼的解決方法
- VsCode配置ssh免密遠(yuǎn)程連接服務(wù)器的實現(xiàn)步驟
- vscode遠(yuǎn)程開發(fā)使用SSH遠(yuǎn)程連接服務(wù)器的方法「內(nèi)網(wǎng)穿透」
- vscode 遠(yuǎn)程連接服務(wù)器docker容器的設(shè)置方法
- VSCode遠(yuǎn)程連接服務(wù)器報錯:Could not establish connection to
- VScode連接遠(yuǎn)程服務(wù)器上的jupyter notebook的實現(xiàn)
相關(guān)文章
完美解決IIS和APACHE的301重定向(帶參數(shù))
感覺BAIDU spider對404的重定向似乎無動于衷,于是近日干脆對原失效的鏈接重新設(shè)置301重定向。2010-11-11
RustDesk?Server服務(wù)器搭建教程含api服務(wù)器和webclient服務(wù)器
RustDesk支持安卓?mac?window?iphone?任意兩個設(shè)備進(jìn)行遠(yuǎn)程控制,不包括api服務(wù)器和webclient客戶端,本教程教大家RustDesk?Server服務(wù)器搭建教程含api服務(wù)器和webclient服務(wù)器,感興趣的朋友一起看看吧2023-12-12
Kubernetes特別屬性的標(biāo)簽Label的強大作用
這篇文章主要為大家介紹了Kubernetes特別屬性的標(biāo)簽Label的強大作用介紹,希望可以對大家有所幫助,祝大家多多進(jìn)步,早日升職加薪2022-03-03

