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