← Learn
Safe
sudo journalctl -u ssh --since "1 hour ago"

linux · bash · Advanced

Shows recent SSH service logs from the systemd journal. Root is required to read other units' logs, which is why an ordinary investigative command needs elevation without being risky.

Think you can spot these under time pressure?

Start Training

More Linux