1.在客户端连接服务端:ssh_exchange_identification: read: Connection reset by peer
2.解决方法:
vi /etc/hosts.allow
在配置文件最后添加:sshd: ALL 注: 允许所有ip连接本机。
3.重启sshd服务,service sshd restart
4.测试:ssh root@192.168.200.10ssh连接主机时,出现报错
原文:https://blog.51cto.com/mengbo2006214/2474237