devin at spamcop.net
Sun Jun 12 01:21:57 GMT 2005
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
Check your /etc/hosts.allow and look in /var/log/messages for a message
May 31 12:18:36 hostname sshd: warning: /etc/hosts.allow, line 32: can't verify hostname: getaddrinfo(22.214.171.124.example.com, AF_INET) failed
May 31 12:18:37 hostname sshd: refused connect from 126.96.36.199 (188.8.131.52)
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
see hosts_options(5) for details.
More information about the freebsd-questions