jewelpet
By:
jewelpet

I think someone brute force attacking my server

April 7, 2017 264 views
Security Networking Ubuntu

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

2 Answers
hansen April 7, 2017
Accepted Answer

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.

Have another answer? Share your knowledge.