Posts Under 'SSH'

How to block ip address on Fedora/Linux using iptables?

Today, I was looking at fedora server logs and discovered that lots of failed automated ssh hacking attempts on various ports. So, to block these IP addresses, googled and found lots of resources on this topic. I thought to keep a log about this. I already did some configuration with hosts.allow and hosts.deny which you […]

Read more »

sshd: refused connect from ::ffff

Hello friends, I faced this problem before 2 days. I did some research and found on google that, to solve this problem you have to see hosts.deny and hosts.allow files under /etc/ directory. So you have to add your ISP or Local ip address in hosts.allow files as sshd sshd1 sshd2 : ipaddress : ALLOW […]

Read more »