Run grep PasswordAuthentication /etc/ssh/sshd_config.
grep PasswordAuthentication /etc/ssh/sshd_config
Read training SSH settings and confirm safer defaults without connecting anywhere.
Security administrationgrepcatjournalctl
Click any instruction for the command details, the why, and the common mistake to avoid.
Run grep PasswordAuthentication /etc/ssh/sshd_config.
grep PasswordAuthentication /etc/ssh/sshd_config
Run grep PermitRootLogin /etc/ssh/sshd_config.
grep PermitRootLogin /etc/ssh/sshd_config
Run journalctl -u ssh.
journalctl -u ssh
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Inspect password login, root login, and SSH activity.
Use grep on /etc/ssh/sshd_config.
SSH is a common administrative entry point and deserves careful review.
cat <file>
Print text file contents.
grep [-i] <text> <file>
Find literal text inside a file.
journalctl -u <service>
Read simulated service journal entries.