Cheat sheet

SSH Cheat Sheet

SSH commands and safety reminders.

SSH Cheat Sheet banner
Practice next

Read the concept, then use a quiz, builder or checklist to make it stick.

Quick reference

AreaCommands or meaning
Connectssh user@example.com
Portssh -p 2222 user@example.com
Keyssh -i ~/.ssh/key user@example.com
Copyscp file user@example.com:/path/
Config~/.ssh/config host entries
Debugssh -vvv user@example.com
SafetyCheck hostname before destructive commands

How to use it

Do not memorise every flag. Memorise the situation, the first command to run, and how to check whether the output makes sense.

Practice prompt

Pick three entries from the table and create a tiny lab. For example, make test files, search them, change permissions, and explain what changed.