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

使用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

相关推荐

《堡垒之夜》服务器还有多久才会上线 ▷➡️
任丘36524便利店电话

《堡垒之夜》服务器还有多久才会上线 ▷➡️

📅 09-16 👁️ 2328
继承人迷羊漫画全集在线免费阅读(下拉式观看)
det365娱乐场所官方网

继承人迷羊漫画全集在线免费阅读(下拉式观看)

📅 08-20 👁️ 6872
揭秘天刀战力:深度解析算法背后的秘密与实战技巧
任丘36524便利店电话

揭秘天刀战力:深度解析算法背后的秘密与实战技巧

📅 08-25 👁️ 5027