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

[-]
Tags
how to ban an ip in ssh

How to ban an IP In SSH
#1
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 :

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

example :

Code:
iptables -A INPUT -s 218.217.247.11 -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)