Run grep PermitRootLogin /etc/ssh/sshd_config.
grep PermitRootLogin /etc/ssh/sshd_config
Tie hardening settings to exposure and identity.
Capstone labsgrepsswhoami
Click any instruction for the command details, the why, and the common mistake to avoid.
Run grep PermitRootLogin /etc/ssh/sshd_config.
grep PermitRootLogin /etc/ssh/sshd_config
Run ss -tulpn.
ss -tulpn
Run whoami.
whoami
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.
Tie hardening settings to exposure and identity.
Run the commands in order and compare the outputs.
Junior operators build confidence by gathering evidence before changing systems.
grep [-i] <text> <file>
Find literal text inside a file.
whoami|id|groups
Inspect the learner account.
ss|ip
Inspect simulated sockets and addresses.
ssh|scp|ssh-keygen
Practice SSH inspection and dry-run transfer shapes without network access.