Hi,
I'm not 100% sure about this, but I read the MAN page for sshd and it seems to me that
you don't need to use
the tcpwrappers. Instead you can modify the sshd configuration file with these
commands
"AllowHosts 118.11.7.* " If specified, will only allow a connection to hosts
whose name or IP# match one of the listed patterns.
"AllowGroups" Can by used to specify names of groups that should be allowed access.
Have a look an let us know if I'm right.
Hello.
I've been using SSH for a few months. I would like to enable its use to only
a few IPs, so I needed to use /etc/hosts.allow and /etc/hosts.deny.
The problem is that I have to recompile SSH, I've found in the FAQ what I
have to do but I'm running it on my RedHat 6.0 and I can't find the file
tcpwrappers in my system.
I have libwrap.a and hosts.*, so I suppose that I have a tcp wrapper
installed, so I wouldn't like to install it twice. Can anybody tell me what
I should put in -I/PATHOF/tcpwrappers
Is tcpwrappers named in a different way on a RedHat system?
Do I have to install TCP wrappers?
Thanks.