Mission 341

SSH client and server policy

Compare resolved client settings with server authentication policy.

Security administration
8 minutes Admin Lesson 341 of 360
sshgrep
Lesson 341 of 360 0/360 lessons 0/17 missions Security administration · 8 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 8 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Resolve the client configuration

Run ssh -G lab.

ssh -G lab
Read password policy

Run grep PasswordAuthentication /etc/ssh/sshd_config.

grep PasswordAuthentication /etc/ssh/sshd_config
Read key policy

Run grep PubkeyAuthentication /etc/ssh/sshd_config.

grep PubkeyAuthentication /etc/ssh/sshd_config
Lesson support

What to notice while you play.

Objective

Build repeatable confidence with separating SSH client configuration from server policy.

Hint

Start with ssh -G lab, inspect the result, then continue in order.

Why it matters

Separating SSH client configuration from server policy helps operators explain what they know before they change anything.

Common mistakes
  • Skipping the output that proves separating SSH client configuration from server policy.
  • Changing several things before recording a baseline.
Reference

Commands in this lesson.

grep [-i] <text> <file>

Find literal text inside a file.

ssh|scp|ssh-keygen

Practice SSH inspection and dry-run transfer shapes without network access.