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. .
Trackback this post | Subscribe to the comments via RSS Feed