SSH Keys and ~/.ssh/config

An SSH key pair logs you in without a password: ssh-keygen makes a private key that stays on your computer and a public key you hand out, ssh-copy-id puts the public key on a server, and a Host block in ~/.ssh/config gives the server a short name.

Updated

Cheat sheet for the lesson SSH Keys and ~/.ssh/config: An SSH key pair logs you in without a password: ssh-keygen makes a private key that stays on your computer and a public key you hand out, ssh-copy-id puts the public key on a server, and a Host block in ~/.ssh/config gives the server a short…
Category
Bash
Level
Journeyman
Tags
linux, private-key, public-key, ssh-config-file, ssh-copy-id, ssh-key, ssh-keygen, unix