SSH Logs: Difference between revisions

From Cramsession
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials
(Created page with "= Display logs = journalctl -u ssh == Show the last 24 hours == journalctl -u ssh --since yesterday")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Tech Notes]] > [[Linux]] > SSH Logs
For diagnosing SSH connection issues on Linux
= Display logs =
= Display logs =


Line 7: 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