Secured Shell or SSH is a great way to enable a secure login for your UNIX / Linux Box. However there are precaution that you should take in order to properly secure SSH daemon from being scanned or attacked by script kiddies or automated bots.
This week I’m going to write a series of article on securing SSH on Ubuntu Linux Box (VPS) and I’m going to link to this post from time to time.
- Disable Root login, enable SSH login for a handful of users only
- Install and configure Fail2Ban
- Limit access with Firewall Rules (limit by ip block, or ip address)
- Limit connection rate to SSH port
- Disable keyboard interactive login, Use public-key login
- Security Security through obscurity: Hiding SSH version
- Security Security through obscurity: Change default SSH ports
Hope this will help in securing your Linux Box / Linux VPS