User: Password:
|
|
Subscribe / Log in / New account

Preventing brute force ssh attacks

Preventing brute force ssh attacks

Posted Oct 25, 2007 14:11 UTC (Thu) by leopinheiro (guest, #45660)
Parent article: Preventing brute force ssh attacks

A simple way I use is to put the following line inside sshd_config:

MaxAuthTries 1

So that an attacker can only try 2 wrong passwords.

It's sometime annoying when I myself type the wrong password 2 times and get the connection
dropped, but most times I type the password correctly, so that's not a problem at all.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds