ssh_exchange_identification: read: Connection reset by peer

ssh连接的时候报错:ssh_exchange_identification: read: Connection reset by peer

 

解决方案:修改远程主机的 /etc/hosts.allow 的文件,添加记录,允许本机进行连接(修改后自动生效)

sshd:10.176.118.118
sshd:10.176.191.0/255.255.255.0

 

posted @ 2021-12-24 19:16  心恩惠动  阅读(218)  评论(0编辑  收藏  举报