关于xshell无法连接到centos的问题

1、xshell无法连接到centos:拒绝连接(无线网)

在xshell ping centos出现:

解决方法:

1、

2、重启下网卡:

  [root@localhost ~]# /etc/init.d/network stop
  [root@localhost ~]# /etc/init.d/network start

3、再查看ifconfig,重新连接

原文地址:https://www.cnblogs.com/chong518/p/5836196.html