User Tools

Site Tools


lastlog

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lastlog [2022/03/16 07:55] – normanlastlog [2022/12/04 07:32] (current) – norman
Line 16: Line 16:
 <code>last root -i</code> <code>last root -i</code>
 or or
-<code>last root -i | tail -n 50</code>+<code>last root -i | head -n 50</code>
  
 Displays the list of logged in and logged out users more detailly with available command options: Displays the list of logged in and logged out users more detailly with available command options:
Line 23: Line 23:
 Source: https://www.servercake.blog/check-last-login-details-via-ssh/ Source: https://www.servercake.blog/check-last-login-details-via-ssh/
  
 +
 +
 +====== SSH Remove SSH Key ======
 +
 +<code>ssh-keygen -f "/root/.ssh/known_hosts" -R "[8.8.8.8]:22"</code>
lastlog.1647417310.txt.gz · Last modified: by norman