From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 12:18:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 232C416A417 for ; Thu, 13 Sep 2007 12:18:23 +0000 (UTC) (envelope-from admin@aldisa.ca) Received: from aldisa.ca (aldisa.ca [206.248.137.162]) by mx1.freebsd.org (Postfix) with ESMTP id C596E13C442 for ; Thu, 13 Sep 2007 12:18:22 +0000 (UTC) (envelope-from admin@aldisa.ca) Received: from [192.168.2.149] ([66.131.254.248]) (AUTH: LOGIN abid) by aldisa.ca with esmtp; Thu, 13 Sep 2007 08:18:21 -0400 id 0024A81A.46E92A8D.00004BDF Received-SPF: none (Address does not pass the Sender Policy Framework) MAILFROM admin@aldisa.ca ( [66.131.254.248]); Message-ID: <46E92A8A.3070300@aldisa.ca> Date: Thu, 13 Sep 2007 08:18:18 -0400 From: Aldisa Admin Organization: Aldisa Canada Inc. User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Derek Ragona References: <46E7E651.4010708@aldisa.ca> <6.0.0.22.2.20070912083213.026faac0@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20070912083213.026faac0@mail.computinginnovations.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Problem with logs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2007 12:18:23 -0000 Hello Derek, I don't use hosts.allow. I use the AllowUsers directive in the sshd.conf file to limit the actual username/ip combinations. As a rule, I also close port 22 on the router. When I need external access (e.g. when I am travelling) I will open some other port and have sshd "Listen" on that port as well. At that time, I will add an obscure username to AllowUsers with any ip address. Of course, I use the custom port to login. Prior to implementing this setup, I used to get frequent daily login attempts. Now I don't get any. Thanks for your feedback. Abid On 12-Sep-07 9:33 AM, Derek Ragona wrote: > > How are you limiting this ssh access? Are you using hosts.allow? If > you are not using hosts.allow, I would suggest you do so. > > -Derek