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

What to Do When Your VPS IP Gets Blacklisted: A Recovery Checklist

vps ip gets blacklisted

When your VPS IP gets blacklisted, the symptoms show up fast. Mail bounces back, a login page starts throwing errors, or a customer tells you your site is flagged as suspicious. The server itself still runs fine, which makes the problem confusing at first. Nothing crashed. The IP address simply landed on a list that … Baca Selengkapnya

How to Rotate SSH Keys for Your Whole Team Without Locking Anyone Out

rotate ssh keys

Sooner or later you need to rotate ssh keys for everyone who logs into your servers. Maybe someone left the team, maybe a laptop was stolen, or maybe the keys are simply years old and nobody remembers who has a copy. Whatever the reason, the fear is always the same: one wrong edit to authorized_keys … Baca Selengkapnya

How to Detect a Rootkit on Your Linux VPS with Chkrootkit

detect a rootkit on linux vps

A rootkit is one of the nastiest things that can land on a server. It hides files, processes, and network connections so an attacker keeps access while everything looks normal. A compromised VPS often keeps serving websites without a hiccup, so weeks can pass before anyone notices. Every VPS owner should know how to detect … Baca Selengkapnya