From owner-freebsd-stable@FreeBSD.ORG Sun Jun 12 01:21:57 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B893116A41C; Sun, 12 Jun 2005 01:21:56 +0000 (GMT) (envelope-from devin@spamcop.net) Received: from mail.distalzou.net (203.141.139.231.user.ad.il24.net [203.141.139.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6484F43D1F; Sun, 12 Jun 2005 01:21:56 +0000 (GMT) (envelope-from devin@spamcop.net) Received: from plexi.pun-pun.prv ([192.168.7.29] helo=plexi) by mail.distalzou.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1DhHAb-000KcB-Qm; Sun, 12 Jun 2005 10:21:49 +0900 Date: Sun, 12 Jun 2005 10:21:49 +0900 (JST) From: Tod McQuillin X-X-Sender: devin@plexi.pun-pun.prv To: Peter Jeremy In-Reply-To: <20050611192356.GA50157@cirb503493.alcatel.com.au> Message-ID: <20050612101718.I62965@plexi.pun-pun.prv> References: <00a301c56dfc$cb84c770$9d00000a@jara2> <20050611192356.GA50157@cirb503493.alcatel.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jack Raats , FreeBSD Stable , freebsd-questions@freebsd.org Subject: Re: Strange error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 01:21:57 -0000 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