Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

how to ban an ip in ssh

How to ban an IP In SSH
How to ban an IP In SSH ?

To bann an ip address manually you should use iptable. In most of linux servers iptable installed by default.

To block an ip address run this command as root in ssh :

iptables -A INPUT -s <IP> -j DROP

example :

iptables -A INPUT -s -j DROP

Dinesh Kumar Mohanty
Ultra Web Solutions®
Bhubaneswar, Odisha, India.

UltratechHost - Your One Stop Offshore & Onshore Hosting Provider
Server Locations : Netherlands, Germany, Russia, Singapore & USA
Service Offers: Shared hosting | Reseller hosting | Cloud server | Dedicated server | VPS Hosting

Forum Jump:

Users browsing this thread: 1 Guest(s)