ssh_exchange_identification: Connection closed by remote host 发表评论 3,259A+所属分类:Error Linux链接到ssh的时候可能报错:“ssh_exchange_identification: Connection closed by remote host”。 检查方法: ①:查看系统日志; ②:检查 /etc/hosts.deny 以及 /etc/hosts.allow 里面是否做了屏蔽; ③:删除用户目录的/.ssh/known_hosts测试一下; ④:sshd配置的MaxStartups限制太死,连接数不够。