Run grep PasswordAuthentication /etc/ssh/sshd_config.
grep PasswordAuthentication /etc/ssh/sshd_config
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 grep PubkeyAuthentication /etc/ssh/sshd_config.
grep PubkeyAuthentication /etc/ssh/sshd_config
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.
Search for password, root, and key authentication settings.
Use grep against /etc/ssh/sshd_config.
SSH is one of the most important admin entry points.
grep [-i] <text> <file>
Find literal text inside a file.