Date: Sun, 12 Jun 2005 10:21:49 +0900 (JST) From: Tod McQuillin <devin@spamcop.net> To: Peter Jeremy <PeterJeremy@optushome.com.au> Cc: Jack Raats <jack@raats.xs4all.nl>, FreeBSD Stable <freebsd-stable@freebsd.org>, freebsd-questions@freebsd.org Subject: Re: Strange error Message-ID: <20050612101718.I62965@plexi.pun-pun.prv> In-Reply-To: <20050611192356.GA50157@cirb503493.alcatel.com.au> References: <00a301c56dfc$cb84c770$9d00000a@jara2> <20050611192356.GA50157@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Jun 2005, Peter Jeremy wrote: > On Fri, 2005-Jun-10 22:41:36 +0200, Jack Raats wrote: >> This day I've a very strange error when trying to connect to my FreeBSD machine (4.11-STABLE) >> I got the following error: >> ssh_exchange_identification: Connection closed by remote host >> >> Can anyone give me any clue what's wrong? I missed the start of this thread but this sounds like tcpwrappers closing the connection. Check your /etc/hosts.allow and look in /var/log/messages for a message like: May 31 12:18:36 hostname sshd[1594]: warning: /etc/hosts.allow, line 32: can't verify hostname: getaddrinfo(1.2.3.4.example.com, AF_INET) failed May 31 12:18:37 hostname sshd[1594]: refused connect from 1.2.3.4 (1.2.3.4) If you see something like that you can change the entry in your /etc/hosts.allow to allow ssh connections from that specific IP or netmask. see hosts_options(5) for details. -- Tod McQuillin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050612101718.I62965>