Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2005 18:38:12 +0200
From:      Daniel Gerzo <danger@rulez.sk>
To:        Adi Pircalabu <apircalabu@bitdefender.com>
Cc:        freebsd-questions@freebsd.org, Carstea Catalin <carstea.catalin@gmail.com>
Subject:   Re[2]: Only some IP's (SSHd)
Message-ID:  <108439145.20050815183812@rulez.sk>
In-Reply-To: <20050815190802.5a9fb97b@apircalabu.dsd.ro>
References:  <dc6701ba05081508296d1bcb41@mail.gmail.com> <20050815190802.5a9fb97b@apircalabu.dsd.ro>

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




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