Cara Menutup port 22 untuk ssh

August 14, 2009 at 4:14 am Leave a comment


Hanya sekedar pemberitahuan, dan sebagai catatan buat saya sendiri khususnya..

saya copy saja langsung dari sumbernya : http://ubuntuforums.org/showthread.php?t=248342

sebagai berikut
basic a advice put to /etc/hosts.deny

Code:
sshd: ALL

this will block all connection to ssh

in hosts.allow you can put allowed IP

Code:
sshd: 195.168.65.*

you can alson use expresions like

Code:
sshd: ALL EXCEPT 195.168.26.56, 85.216.25.368

or you can try install this very good DenyHosts

script. this scripts reads info from /var/log/auth.log and automayicly add IP to hosts.deny. You can also use purge function to delete old blocking

Code:
http://www.howtoforge.com/preventing_ssh_dictionary_attacks_with_denyhostshttp://www.howtoforge.com/preventing...with_denyhosts

__________________

kunjungi juga :

http://www.howtoforge.com/preventing_ssh_dictionary_attacks_with_denyhosts

Advertisements

Entry filed under: Ubuntu.

MSD-5FP versi 1.0 Kalibrasi CNC 20 mikron

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


VIEWED - Dilihat

  • 86,954 times - kali

CALENDAR – Kalender

August 2009
M T W T F S S
« Jul   Sep »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

ARCHIVES – Arsip

ads1

(adsbygoogle = window.adsbygoogle || []).push({});

%d bloggers like this: