sh_exchange_identification: Connection closed by remote host

image.png

sh_exchange_identification: Connection closed by remote host
多半是系统突然遭到暴力破解尝试。解决的办法是阻止暴力破解:

iptables -I INPUT -p tcp --dport 22 -j DROP

iptables -I INPUT -s 22.33.44.55 -p tcp --dport 22 -j ACCEPT

其中22.33.44.55换为本机的IP地址。

你可能感兴趣的:(sh_exchange_identification: Connection closed by remote host)