Only some IP's (SSHd)

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Mon Aug 15 19:20:10 GMT 2005


> > If you would like to permit ssh logins from specific IP addresses you
> > should take a look at:
> 
> > man 5 hosts_access
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/tcpwrappers.html
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
> 
> It is also possible to do it via AllowUsers directive in sshd_config

No, that is a slightly different (and complimentary) measure.  
It affects *who* may log in, not *where* logins may come from.


More information about the freebsd-questions mailing list