
查阅资料,可以通过 ip addr 查看,但是需要先配置网卡
cd /etc/sysconfig/network-scripts/


将 no 改为 yes
使用 ip addr 命令

这样就可以在外部用 xshell连接上去敲命令了;
关闭Linux防火墙命令:service iptables stop / service firewalld stop
查看Linux防火墙状态命令:service iptables status / service firewalld status
本文介绍如何在Linux系统中通过修改网络配置文件实现远程访问,并提供了开启ipaddr命令及关闭防火墙的方法,以便于使用Xshell等工具进行远程连接。
4771

被折叠的 条评论
为什么被折叠?



