【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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM