1.确认连接交机机端口的正常,如查更换多几个端口试

2.确认网络不存在问题。

3.把selinux iptables服务全部关闭

4.查看本机是否侦听22端口和是否开启ssh服务 命令:netstat -na  和service sshd status

在这里我想告诉大家,防火墙有临时关闭跟永久关闭之分

(1) 重启后生效
        开启: chkconfig iptables on
        关闭: chkconfig iptables off

(2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop

 

相关文章:

  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2021-06-28
  • 2021-08-02
  • 2022-12-23
  • 2021-06-11
猜你喜欢
  • 2022-12-23
  • 2021-12-19
  • 2021-08-18
  • 2021-09-20
  • 2022-12-23
相关资源
相似解决方案