Lion Cipher Lab

Set up a bastion / jump host

Why it matters

Every machine that accepts SSH from the internet is a door someone is trying to open right now. Put SSH on ten internal boxes and you have ten doors to patch, watch, and reason about — ten places a mistake becomes a breach. A bastion (also called a jump host) collapses that into one: a single, deliberately hardened machine is the only thing reachable from outside, and every path to an internal host passes through it. That is the core access-control win. Your attack surface — the total set of points an attacker can reach and probe — shrinks from a whole fleet to one carefully guarded front…

What you'll learn

Steps in this lab

  1. What a bastion is, and why one front door beats many
  2. Designate your bastion and your internal host
  3. Harden the bastion's SSH — it is the one door you keep
  4. Reach the internal host THROUGH the bastion with ssh -J
  5. Make it permanent with ~/.ssh/config
  6. Understand agent forwarding — and why you're not using it
  7. Treat the bastion as the high-value target it now is
  8. What you built, and the instinct underneath it

Open the full interactive lab →