SSH Logs: Difference between revisions

From Cramsession
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Tech Notes]] > [[Linux]] > SSH Logs




Line 11: Line 13:


  journalctl -u ssh --since yesterday
  journalctl -u ssh --since yesterday
== Display Logs in Realtime ==
journalctl -u ssh -f

Latest revision as of 17:48, 20 May 2025

Tech Notes > Linux > SSH Logs


For diagnosing SSH connection issues on Linux

Display logs

journalctl -u ssh


Show the last 24 hours

journalctl -u ssh --since yesterday


Display Logs in Realtime

journalctl -u ssh -f