From owner-freebsd-questions@FreeBSD.ORG Sat Apr 19 01:59:15 2008 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 D6F5F106564A for ; Sat, 19 Apr 2008 01:59:15 +0000 (UTC) (envelope-from gilles.ganault@free.fr) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 944688FC14 for ; Sat, 19 Apr 2008 01:59:15 +0000 (UTC) (envelope-from gilles.ganault@free.fr) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by postfix2-g20.free.fr (Postfix) with ESMTP id 95114255BF9A for ; Sat, 19 Apr 2008 01:40:23 +0200 (CEST) Received: from smtp1-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id A209F1AB2B9 for ; Sat, 19 Apr 2008 03:40:48 +0200 (CEST) Received: from myputer.free.fr (mar92-9-82-237-75-54.fbx.proxad.net [82.237.75.54]) by smtp1-g19.free.fr (Postfix) with ESMTP id 6E87F1AB2BA for ; Sat, 19 Apr 2008 03:40:48 +0200 (CEST) Message-Id: <5.1.1.6.2.20080419033933.00b94ce0@127.0.0.1> X-Sender: pop.free.fr/110/gilles.ganault@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sat, 19 Apr 2008 03:40:41 +0200 To: freebsd-questions@freebsd.org From: Gilles In-Reply-To: <1BAE8CB205D00540B5A4504F@utd65257.utdallas.edu> References: <2tng04doovnmtkr7or9kfkb596fgjfoj1c@4ax.com> <48086425.5080608@wire-consulting.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [SSHd] Limiting access from authorized IP's 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: Sat, 19 Apr 2008 01:59:15 -0000 At 18:17 18/04/2008 -0500, Paul Schmehl wrote: >If you want to restrict sshd logins by host, you can use AllowUsers like this: > >AllowUsers user1@host1 user1@host2 user1@host3 user2@host1 user2@host6 It looks like AllowHosts is not available with the version of SSH that comes with FreeBSD. This works: AllowUsers root@127.* root@192.168.0.* root@82.237.x.x root@82.227.x.x Thanks.