ssh_exchange_identification: Connection closed by remote host

Darren Tucker dtucker at zip.com.au
Wed Aug 6 17:33:44 EST 2003


chkbrian wrote:
> I encountered the following problem while I typing "ssh -v <host_name>"
[snip]
> ssh_exchange_identification: Connection closed by remote host

You should specify your platform and OpenSSH version, but this is almost
certainly due to tcpwrappers configuration.

Add the following line to hosts.allow:
sshd: ALL

It may be in /etc or /usr/local/etc.

Alternatively you could rebuild sshd without "--with-tcp-wrappers".

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list