Fixing SSH “Match” Blocks Breaking Host Aliases: A Subtle but Important Trick
When configuring SSH, most developers know the basics— Host, HostName, IdentityFile, and so on. But once you start using Match blocks and Include statements in more complex setups (multiple keys, multiple users, multiple environments), you can easily run into a very subtle problem: