Create a short alias in ~/.ssh/config.
Section: Client Config Basics
Basic host alias
sshconfig
sshconfig
Host web-prod
HostName web01.example.com
User deploy
Port 22
IdentityFile ~/.ssh/id_ed25519Explanation
Create a short alias in ~/.ssh/config.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Client Config Basics
Pattern-based host block
Match groups of hosts with wildcard patterns.
Canonicalize hostnames
Resolve short names into FQDNs automatically.