SSH Security

Mollatt Ntini mntini at mweb.co.zw
Wed Sep 29 15:20:10 UTC 2004


----- Original Message -----
From: "Darryl W. DeLao Jr." <ddelao at oucpm.org>


> How can I tell the SSH server to only allow certain IP's the ability to
> login?
>
>
in /etc/hosts.allow  and something like this is what you are looking for:

ALL: 127.0.0.1, 192.168.0, 96.78.40.

or

127.0.0.1/ 255.255.255.255
192.168.0.1/24
96.78.40.0/24


This will allow your local LAN ie. 192.168.0.X and your entire trusted
network 96.78.40.X. You can just specify your IPs too.

>
>
> Thanks!
>
>

Molla




More information about the redhat-list mailing list