合 光猫引起的一则ssh连接错误write: Connection reset
现象
今天晚上回家,准备连接一下华为云的服务器,传一些数据,结果出现了诡异的一幕,ping的时候一切正常,但是,用ssh进行连接的时候总是报错,而且错误在如下3个返回信息中循环:
1 2 3 4 5 | Connection reset by 121.37.13.33 port 22 write: Connection reset ssh_exchange_identification: read: Connection reset by peer |
或者:连接上服务器后,不到5秒钟又会自动断开,特别奇怪,我还特意重启了一下该服务器,还是没能解决这个问题。