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
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"