Read systemd journal entries. Use -u to filter by service unit.
journalctl -u ssh --since todayLINUX COMMAND ATLAS · COMMAND GUIDE
Read systemd journal entries. Use -u to filter by service unit.
systemdjournalctl [OPTIONS...] [MATCHES...]
Read systemd journal entries. Use -u to filter by service unit.
journalctl -u ssh --since todayShow the last 50 SSH unit messages without a pager.
journalctl -u ssh -n 50 --no-pagerShow warning and more severe messages from this boot.
journalctl -b -p warningJournal access and retention depend on system configuration and user permissions. Avoid sharing logs before checking for secrets or personal data.