ssh_exchange_identification: Connection closed by remote host

Linux链接到ssh的时候可能报错:“ssh_exchange_identification: Connection closed by remote host”。

检查方法:文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/ssh-exchange-identification-connection-closed-by-remote-host/

①:查看系统日志;文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/ssh-exchange-identification-connection-closed-by-remote-host/

②:检查 /etc/hosts.deny 以及 /etc/hosts.allow 里面是否做了屏蔽;文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/ssh-exchange-identification-connection-closed-by-remote-host/

③:删除用户目录的/.ssh/known_hosts测试一下;文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/ssh-exchange-identification-connection-closed-by-remote-host/

④:sshd配置的MaxStartups限制太死,连接数不够。文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/ssh-exchange-identification-connection-closed-by-remote-host/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/ssh-exchange-identification-connection-closed-by-remote-host/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onAugust 13, 2015
  • 原文链接:https://note.t4x.org/error/ssh-exchange-identification-connection-closed-by-remote-host/
匿名

Comment

Anonymous

Slide puzzle verification.