User Tools

Site Tools


computing:miscadmin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
computing:miscadmin [2024/01/28 20:32] oemb1905computing:miscadmin [2024/02/09 10:56] oemb1905
Line 292: Line 292:
   sudo systemctl status unattended-upgrades   sudo systemctl status unattended-upgrades
  
-Next ... +Next ... ssh failed attempts
  
 +  grep "Failed password" /var/log/auth.log
 +  journalctl _SYSTEMD_UNIT=ssh.service | egrep "Failed|Failure"
 +  faillock --user <user>
 +  grep "authentication failure" /var/log/auth.log | awk '{ print $14 }' | cut -b7-  | sort | uniq -c
 +
 +  
  --- //[[jonathan@haacksnetworking.org|oemb1905]] 2024/01/28 20:31//  --- //[[jonathan@haacksnetworking.org|oemb1905]] 2024/01/28 20:31//
computing/miscadmin.txt · Last modified: 2024/05/17 02:19 by oemb1905