Cryptography / Crypto in practice
Lesson 22 of 25
SSH keys up close
SSH keys are asymmetric key pairs. Your server stores your public key, and you prove who you are with the private key, which never leaves your computer.
Key points
- ed25519 is the modern choice
- Protect the private key with a passphrase
- authorized_keys lists allowed keys
ssh-keygen -t ed25519 -C "fahad@laptop"Quiz · +10 XP
Which part of an SSH key pair goes on the server?
Log in to save progress and earn XP.