ssh:connect to host xxxx port 22:Connection timed out

ssh:connect to host xxxx port 22:Connection timed out

发布者:IT人在线 | 发表时间:2018/12/17 11:34:43

ssh:connect to host xxxx port 22:Connection timed out

此问题出现原因,请挨个检查是否配置错误

1、防火墙问题 :

要求各个节点必须关闭防火墙Centos7关闭防火墙命令(systemctl stop firealld),并且设置为开机不启动(systemctl disable firewalld)。

2、检查节点的配置的映射关系是否出错了 :

每个节点的主机映射必须正确,请挨个检查主机的映射文件配置是否正确(vi /etc/hosts ),最好各个节点相互ping下,检查是否可以ping通。

3、检查节点的ip是否发生了改变:

输入ip a检查各个节点的ip是否设置正确,并且与步骤二中的映射设置是否匹配。

4、 还有 就是hadoop中的配置文件Slaves的信息。