From owner-freebsd-questions Sun Apr 28 20:33:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.theplanet.com (mail1.theplanet.com [216.234.234.32]) by hub.freebsd.org (Postfix) with ESMTP id D059737B41B for ; Sun, 28 Apr 2002 20:33:31 -0700 (PDT) Received: from jheath.theplanet.com (jheath.theplanet.com [216.185.111.7] (may be forged)) by mail1.theplanet.com (8.9.3/8.9.3) with ESMTP id WAA97845; Sun, 28 Apr 2002 22:33:30 -0500 (CDT) Message-Id: <5.1.0.14.2.20020428223215.02521ec0@mail.theplanet.com> X-Sender: jheath@mail.theplanet.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 28 Apr 2002 22:32:43 -0500 To: Peter Leftwich From: Justin Heath Subject: Re: OpenSSH and hosts.allow Cc: FreeBSD LIST In-Reply-To: <20020428143940.F48668-100000@earl-grey.cloud9.net> References: <5.1.0.14.2.20020428071125.025b0160@mail.theplanet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter, I am using SSHd version OpenSSH_2.9 (FreeBSD localisations 20020307). As you can see this is not installed from the ports. I am using /etc/hosts.allow. Which is where SSHd should be looking since it is part of the base system and not a port. Thanks. At 02:43 PM 4/28/2002 -0400, Peter Leftwich wrote: >On Sun, 28 Apr 2002, Justin Heath wrote: > > I am trying to set up sshd (OpenSSH) to use hosts.allow . The problem > is that the rules seem to work with IP address but not host names. > > Example - Works: sshd: 0.0.0.0: allow > > Does not work: sshd: .domain.com: allow (nor) sshd: my.domain.com: allow > > Any suggestions? Thanks. -Justin Heath > >Justin, Which version of OpenSSH (`sshd -v` this says illegal option, but >then gives you the version on the next line of stderr output) are you >using? > >What is the path to the hosts.allow file in your references? > >-- >Peter Leftwich >President & Founder >Video2Video Services >Box 13692, La Jolla, CA, 92039 USA >+1-413-403-9555 Justin Heath To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message