hosts.deny entry.
sshd:ALL EXCEPT 192.168. 66.167.150. 66.167.151.
I also read that in my google search that TCPWRAPPERS worked with inetd. I am using xinetd. So my question what should I do in order for me to let the server only accept ssh for certain IPs. My sample hosts.allow are below. That external IPs on my sample are not true. Thanks a lot for the help.
glen
# THIS IS MY HOSTS.DENY # 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. # sshd: 192.168. 66.167.150. 66.167.151. : ALLOW
# THIS IS MY HOSTS.DENY # 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! sshd:ALL
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
