Re: attack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam Varshavchik wrote:

roland brouwers writes:


Hello everybody,

Someone is attacking for a certain time on port SSH2
He is trying to login as root and uses all kind of usernames.
See annexed textfile
How can I block a user after x failed logins?
Can I do something else?

You can also set up hosts.allow and hosts.deny to only allow specific IP addresses to SSH into your system. For /etc/hosts.allow:
sshd: LOCAL, 123.456.789.000
Put in the IP addresses of administrators on outside networks separated by commas.


For /etc/hosts.deny:
sshd:   ALL

Unfortunately, if you have dynamic IP addresses that need to get in, you won't be able to use this feature.
Corey



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux