When I ssh into my droplet, it reads out:
There were 670 failed login attempts since the last successful login.
Is this usual? Am I supposed to be concerned?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Q:\ Is this usual? <br>A:\ It is usual and common on servers facing the internet. These internet facing servers are being scanned for open ports by malicious users everyday all day. <br> <br>Q:\ Am I supposed to be concerned? <br>A:\ Yes, you should be concerned as your server might get compromised. <br> <br>Tip: You can check the Failed login attempts with: <br> sudo cat /var/log/secure | grep Failed <br> <br>
Change the SSH port, try fail2ban: <br>https://www.digitalocean.com/community/articles/how-to-protect-ssh-with-fail2ban-on-ubuntu-12-04
I recommend installing fail2ban (see joshuataylorx’s link above) and using SSH keys while disabling password authentication: <a href=“https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2”>https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2</a>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.