Only some IP's (SSHd)

Daniel Gerzo danger at rulez.sk
Mon Aug 15 16:39:55 GMT 2005


Hi Adi,

Monday, August 15, 2005, 6:08:02 PM, you wrote:

> On Mon, 15 Aug 2005 08:29:46 -0700
> Carstea Catalin <carstea.catalin at gmail.com> wrote:

>> What is the parameter that must be setting-up in
>> my /etc/ssh/sshd_config to permit only known IPs.

> 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's definetely a very good idea to search the available online &
> offline documentation before posting already documented and ansewred
> questions.

It is also possible to do it via AllowUsers directive in sshd_config

-- 
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:        http://www.proxy-web.com/
                         | FreeBSD - The Power to Serve!

[ BIRDS do it, bees do it, even chimpanzees do ]



More information about the freebsd-questions mailing list