Hello friends i faced this problem before 2 days.. To solve this problem you have to see hosts.deny and hosts.allow files under /etc/. So you have to add your ISP or Local ip address in hosts.allow files as
sshd sshd1 sshd2 : ipaddress : ALLOW
and in hosts.deny ALL:ALL so that other hosts are not allowed.
