Re: [Security Firewall] ssh

"JP" <jp-nwfNr1S2xsksA/[email protected]> Fri, 23 Sep 2005 20:23:44 -0400 (EDT)
Newsgroups gmane.linux.mandrake.security.firewall
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1127521432-805-4501
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,


> in /etc/hosts.deny
> add an entry like this:
>|   sshd sshd1 sshd2 : ALL : ALLOW
># before
>  ALL:ALL:DENY
>easy :-)


this configuration is very permissive...
leave ALL:ALL:DENY in /etc/hosts.deny
And allow trusted hosts in /etc/hosts.allow

sshd2 : 192.168.0.1 : ALLOW



Thanks,
JP






------------=_1127521432-805-4501
Content-Type: text/plain; name="message.footer"
Content-Disposition: inline; filename="message.footer"
Content-Transfer-Encoding: quoted-printable

____________________________________________________
Want to buy your Pack or Services from Mandriva?=20
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

------------=_1127521432-805-4501--