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

时间:2019-11-17 19:19:23   收藏:0   阅读:93

进行远程登录时,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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!