Question

I think someone brute force attacking my server

Posted April 7, 2017 2.5k views
UbuntuSecurityNetworking

I think someone brute force attacking my server,how can i deal with it?My computer’s IP is dynamic ip

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi @jewelpet

Use public keys instead of passwords, like said before. But consider setting up fail2ban or similar.

https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-ubuntu-14-04

by Justin Ellingwood
Fail2ban is a daemon that can be run on your server to dynamically block clients that fail to authenticate correctly with your services repeatedly. This can help mitigate the affect of brute force attacks and illegitimate users of your services. In this guide, we'll show demonstrate how to install and configure fail2ban to protect SSH and Nginx on an Ubuntu 14.04 server.

Use public keys and strong passwords.

Submit an Answer