Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2008 03:40:41 +0200
From:      Gilles <gilles.ganault@free.fr>
To:        freebsd-questions@freebsd.org
Subject:   Re: [SSHd] Limiting access from authorized IP's
Message-ID:  <5.1.1.6.2.20080419033933.00b94ce0@127.0.0.1>
In-Reply-To: <1BAE8CB205D00540B5A4504F@utd65257.utdallas.edu>
References:  <i37i04lb137hus1akad67vjlcb022ftbob@4ax.com> <2tng04doovnmtkr7or9kfkb596fgjfoj1c@4ax.com> <48086425.5080608@wire-consulting.com> <i37i04lb137hus1akad67vjlcb022ftbob@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.2.20080419033933.00b94ce0>