Cheatsheet Pages / SSH Cheatsheet

How to install your public key on a server — ssh-copy-id

You log in with your password one last time; after that, the key does it.

Every flag and config keyword was checked against the OpenSSH 9.6 man pages, and the config examples were parsed for real with ssh -G.

ssh-copy-id -i ~/.ssh/id_ed25519.pub deploy@example.com
# appends the key to the server's ~/.ssh/authorized_keys;
# you log in with your password one last time — after that, the key does it
SSH Cheatsheet one-page card — commands that actually work
The full one-page card — SSH Cheatsheet. Get the complete cheatsheet on GitHub