如何使用vscode連接openEuler服務(wù)器
本地主機(jī)準(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 |
針對(duì)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
找到以下兩個(gè)配置
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)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
- VSCode如何連接Linux遠(yuǎn)程服務(wù)器
- VScode連接服務(wù)器不用每次都輸入密碼的解決方法
- VsCode配置ssh免密遠(yuǎn)程連接服務(wù)器的實(shí)現(xiàn)步驟
- vscode遠(yuǎn)程開發(fā)使用SSH遠(yuǎn)程連接服務(wù)器的方法「內(nèi)網(wǎng)穿透」
- vscode 遠(yuǎn)程連接服務(wù)器docker容器的設(shè)置方法
- VSCode遠(yuǎn)程連接服務(wù)器報(bào)錯(cuò):Could not establish connection to
- VScode連接遠(yuǎn)程服務(wù)器上的jupyter notebook的實(shí)現(xiàn)
相關(guān)文章
iisapp.vbs iis pid了解對(duì)應(yīng)的網(wǎng)站或應(yīng)用池
有時(shí)候突然發(fā)現(xiàn)某個(gè)w3wp.exe進(jìn)程,占用較大的自由,想看看是哪個(gè)網(wǎng)站,然后再解決問(wèn)題。下面是具體的方法。2009-10-10Mac OSX下使用MAMP安裝配置PHP開發(fā)環(huán)境
本部分描述如何在 Mac 上安裝 MAMP。將通過(guò)一個(gè)操作安裝 Apache Web 服務(wù)器、MySQL 和phpMyAdmin,需要的朋友可以參考下2017-09-09服務(wù)器安全問(wèn)題匯總 讓你的服務(wù)器更安全
下面是腳本之家從網(wǎng)站上看到的一篇介紹如何讓你的服務(wù)器更安全,需要注意的一些細(xì)節(jié),整理的比較不錯(cuò),維護(hù)服務(wù)器安全的朋友可以參考下。2010-07-07服務(wù)器Centos部署Spring?boot?前后端項(xiàng)目的詳細(xì)步驟
使用centos部署前后端項(xiàng)目,使用的是centos?8,后端用的是Spring,前端用的是Vue,這篇文章主要介紹了服務(wù)器Centos部署Springboot前后端項(xiàng)目的步驟,需要的朋友可以參考下2024-05-05詳解阿里云服務(wù)器添加安全組規(guī)則(圖文教程)
這篇文章主要介紹了詳解阿里云服務(wù)器添加安全組規(guī)則(圖文教程),小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧2020-07-07k8s監(jiān)控?cái)?shù)據(jù)組件Pod自動(dòng)化進(jìn)行擴(kuò)縮容HPA
這篇文章主要為大家介紹了監(jiān)控?cái)?shù)據(jù)組件Pod自動(dòng)化進(jìn)行擴(kuò)縮容-HPA的全面講解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步2022-03-03