Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 03 · Networking · Faster, private, everywhere · about 17 min to read

Play it as a journeyTutor comes with a plan

The key at the door (SSH: keys, known hosts, the agent and tunnels)

VMs, Bare Metal & SSH
VMs, Bare Metal & SSH · Open board

A slice of a giant machine rented in the cloud, and the encrypted line you use to reach it: ssh root@203.0.113.10, a key pair, authorized_keys. This lesson walks through that door twice: once as the person knocking, once as the door deciding whether to open.

Before you start. From The whisper code (how a call goes private) you have the split lock: a key in two halves, a public half anyone may see and a private half its owner never shows, where only the matching private half can open what the public half locked, or sign what the public half can check. You also have the forged ID card of 2011: a perfect lock is worthless if you are talking to the wrong door. From TCP vs UDP, and the 3-way handshake you have ports, the numbered doors on one address. SSH is the split lock used for a different job: not reading a website, but typing commands on a computer somewhere else.

Lesson 33 of 44 in Networking

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • Spring 1995: thousands of passwords on one university network
  • Is this the right door? The host key
  • Is this someone allowed in? The key pair
  • Not typing the passphrase forty times: the agent
  • A corridor through the door: tunnels
  • The door and the two keys
  • The first visit
  • The key offered and accepted
  • A face that changes
  • The agent, kept home and forwarded
  • A tunnel carrying a web page

Terms it explains: host key, trust on first use, key pair, agent, tunnels.

Review Networking