openEuler关闭防火墙以及vscode远程SSH链接
...小于 1 分钟
注意
目前vscode ssh链接openEuler始终连不上。openEuler是安装在Parallels Desktop里面的。
暂时放弃。
查看目前的防火墙状态
systemctl status firewalld
关闭防火墙
sudo service firewalld stop
SSH
VSCode Remote SSH 需要在VSCode中安装插件 Remote SSH
或者直接安装 Remote Development
,这样就可以在VSCode中使用SSH了。
修改openEuler虚拟机内部的 /etc/ssh/sshd_config
,启用如下设置:
AllowAgentForwarding yes
AllowTcpForwarding yes
GatewayPorts yes
刷新sshd服务状态:
sudo systemctl restart sshd.service
Powered by Waline v2.14.9