Fist use ssh to logon root@192.168.0.6
it is through
then config the /etc/hosts.deny
ALL:ALL
to deny all visiting from anywhere
 
try to ssh to logon root@192.168.0.6
this time it failed
then config the /etc/hosts.allow
sshd : 192.168.0.0/255.255.255.0
 
now ssh root@192.168.0.6 again from 192.168.0.5
it is through again.
Advertisements