Hi!
I try of put my SSH (redhat 8.0 updated yesterday) with TCP Wrappers,looking at the
package
requires "tcp wrappers",so I suppose will be compiled with,because read hosts.allow and
only give if allowed,i tried of put a file /etc/xinetd/ssh and had not result when I
want control
anything,SSH simply ignore these,oinly look hosts.allow .I tried these two
configurations:
My IP is 172.26.0.6 ,so i MUST have forbidden to connect:
File one:
service ssh
{
socket_type = stream
protocol = tcp
wait = no
user = root
port = 22
server = /usr/sbin/sshd
server_args = -i
only_from = 172.26.0.5
}
File two
service sshd
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/sshd
#It's not listed in my /etc/services
port = 22
server_args = -i
#Allow access from the local network
only_from = 172.26.0.5
log_on_failure = ATTEMPT HOST RECORD
}
Any help will be appreciated.
Josep
--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list