使用secureCRT连接linux主机失败的原因以及解决办法

365bet赌城网址 🌸 2025-07-15 23:40:23 🎨 admin 👁️ 1768 ❤️ 353
使用secureCRT连接linux主机失败的原因以及解决办法

linux主机一直连接不上CRT

问题描述:

解决办法:

打开vm点开 编辑 找到虚拟网络编辑器

点击VM8 更改权限

然后打开此电脑的控制面板—网络适配器选项

鼠标右键 ---->状态—>点到属性

打开找到Ipv4

查看IP地址是否小于或者配置地址(linux主机配置的ip,修改大于配置的ip地址点击确定。

查看配置文件:

[root@localhost~]# cat /etc/sysconfig/network-scripts/ifcfg-ens33

修改配置文件:

[root@localhost~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33

重启网卡:

[root@localhost~]# systemctl restart network

1、查看防火墙是否状态:

[root@localhost~]# systemctl status firewalld

关闭防火墙命令:

[root@localhost~]# systemctl stop firewalld

开机自启防火墙命令:

[root@localhost~]# systemctl enable firewalld

现在再来连接secureCRT 连接成功 问题解决

附加:systemctl相关命令

启动一个服务:systemctl start firewalld

关闭一个服务:systemctl stop firewalld

重启一个服务:systemctl restart firewalld

显示一个服务的状态:systemctl status firewalld

在开机时启用一个服务:systemctl enable firewalld

在开机时禁用一个服务:systemctl disable firewalld

查看服务是否开机启动:systemctl is-enabled firewalld

查看已启动的服务列表:systemctl list-unit-files|grep enabled

查看启动失败的服务列表:systemctl --failed

相关推荐

分米换算米
365网站买球违法吗

分米换算米

📅 06-29 👁️ 3103
“壕”可怕!阿联酋迪拜骑车旅行记(中)
365bet赌城网址

“壕”可怕!阿联酋迪拜骑车旅行记(中)

📅 07-01 👁️ 6024
做烘焙剩下的奶油该怎么用掉?附几款奶油甜品做法
365网站买球违法吗

做烘焙剩下的奶油该怎么用掉?附几款奶油甜品做法

📅 06-29 👁️ 3763