Cara Menutup port 22 untuk ssh

August 14, 2009

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

Entry Filed under: Ubuntu. .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Categories – Kategori

VIEWED - Dilihat

CALENDAR – Kalender

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

ARCHIVES – Arsip

Comments – Komentar

Recent Posts

Blogroll