Simple Hack To Protect SSH Against Brute-Force Hacking Attempts简单的入侵,以保护SSH的反对强权的武力入侵的企图
All SSH servers on the internet are heavily targeted for brute-force cracking of passwords.所有的SSH服务器在互联网上大量有针对性的为强权的武力打击的密码。 Easy passwords can and are often cracked to gain full control over the machine.可以很容易的密码,并且往往破获要获得完全的控制权,机器。 Here is a simple hack to thwart most of such hacking attempts.这里是一个简单的入侵阻止大多数这样的黑客企图。
Change the default port of ssh to a non-standard port greater than 1024.改变默认端口的ssh到的是非标准的端口大于1024 。 Most hacking scripts target port 22, which is the default ssh port, for brute-force attacks.最黑客脚本的目标端口22 ,这是默认的SSH端口,为强权的武力攻击。
Open file /etc/ssh/sshd_config and add / change the Port line as follows:打开文件的/ etc / ssh / sshd_config和新增/变更港口路线如下:
Port 1234 港口1234
Replace 1234 with an unique number greater than 1024.取代1234年与一个独一无二的号码,大于1024 。 My server used to be subjected to thousands of hacking attempts daily.我的服务器用来受到数以千计的黑客企图每日。 After the changes it has dropped almost to zero.后的变化,它已降至几乎为零。 Sometimes a simple solution is all it takes to solve your complex problem.有时,一个简单的解决办法是所有需解决您复杂的问题。
Filed under提起下 Fedora 7 Fedora的7 , , Fedora Core 6是Fedora Core 6 , , Headline News头条新闻 , , How To如何 , , Linux Linux的 , , Open Source Software开放源码软件 , , Tech Note技术说明 , , Web网页 , , Web Hosting虚拟主机 , , Web Services Web服务 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article电子邮件此文章
You may also like to read您也可以想读 |





November 29th, 2007 at 1:40 pm 2007年11月29日在下午1时40分