【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

 

posted @ 2019-11-17 18:34  N!CE波  阅读(2313)  评论(0编辑  收藏  举报