【SSH错误】ssh_exchange_identification: read: Connection reset by peer

进行远程登录时,ssh root@xxxxxxxxx出现如下错误

ssh_exchange_identification: read: Connection reset by peer

解决方案:登录远程服务端更改配置文件,添加

[root@localhost ~]# vi /etc/hosts.allow
#########################

##允许所有ip主机均能连接本机·
sshd: ALL 

[root@localhost ~]# systemctl restart sshd
原文地址:https://www.cnblogs.com/756623607-zhang/p/11877444.html