SSH Security

Margaret Doll Margaret_Doll at brown.edu
Wed Sep 29 15:04:25 UTC 2004


Use /etc/hosts.deny and /etc/hosts.allow

#
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!
All: All


-------------

#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
ssh:  ipaddress list separated by spaces


On Wednesday, September 29, 2004, at 10:38 AM, Darryl W. DeLao Jr. 
wrote:

> How can I tell the SSH server to only allow certain IP's the ability to
> login?
>
>
>
> Thanks!
>
>
>
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list