How to Disable Root SSH Login and Still Recover a Locked-Out VPS

disable root ssh login

To disable root SSH login safely, set up a working sudo account with key login first, then change one line in sshd_config and test it in a second terminal window before you log out. Root is the first account every automated scanner tries, so closing that door cuts a large share of brute-force noise. The … Baca Selengkapnya

How to Harden Ubuntu Server After a Fresh Install: The First 15 Minutes

harden ubuntu server

How to Harden Ubuntu Server After a Fresh Install: The First 15 Minutes A fresh Ubuntu install is not safe by default. SSH is open, the root account may still accept a password, and no firewall is running. That is the normal state of a new server, and it is also the state most attacks … Baca Selengkapnya