[SSHd] Limiting access from authorized IP's

Gilles gilles.ganault at free.fr
Sat Apr 19 01:59:15 UTC 2008


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 at host1 user1 at host2 user1 at host3 user2 at host1 user2 at host6

It looks like AllowHosts is not available with the version of SSH that 
comes with FreeBSD.

This works:

AllowUsers root at 127.* root at 192.168.0.* root at 82.237.x.x root at 82.227.x.x

Thanks.



More information about the freebsd-questions mailing list