lastb -n 20

Category: VPS Management

lastb -n 20

Show the 20 most recent failed login attempts

Complements 'last' by showing unsuccessful logins. Requires root. A large number of entries from external IPs indicates active brute-force scanning.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.