•
ssh_exchange_identification: Connection closed by remote host
Al intentar acceder por ssh a un host nos podemos encontrar con el siguiente error:
$ ssh -l jordi 192.168.1.1 ssh_exchange_identification: Connection closed by remote host
Delante de este error deberemos revisar el fichero /etc/hosts.deny, ya que es muy posible que los TCP warppers esten bloqueando la conexión. Por ejemplo, en un ArchLinux por defecto nos encontraremos lo siguiente:
$ cat /etc/hosts.deny # # /etc/hosts.deny # ALL: ALL: DENY # End of file
Simplemente deberemos eliminar la línea que deniega todas las conexiones para todos los servicios o bien, permitir sólo los hosts que nos interesan mediante el fichero /etc/hosts.allow
sshd: 192.168.1.1: ALLOW
Relacionados
Imprimir
•
One comment to “ssh_exchange_identification: Connection closed by remote host”
•
9. June 2011 at 3:52 am :
Mi sistema HPUX 11.11, un L3000, no tiene configurado el /etc/hosts.deny
Ya actualize al última versión tanto el SSH, OPENSSL parches y nada, tienes alguna sugerencia?
Gracias por tu ayuda.
Saludos.
Israel Lozano