kex_exchange_identification: read: Connection reset by peer的报错解决 解决方案如下: 1、使用VNC的方式登录云服务器 2、操作命令 vi /etc/hosts.allow 3、按i进入编辑模式,最后添加sshd: ALL #就是允许所有ip主机均能连接本机 4、Esc退出编辑模式,:wq退出保存 5、重启sshd服务 systemctl restart sshd