Below you will find pages that utilize the taxonomy term “Til”
TechWhy bother with a fancy
read more
Using SSH Config `Match exec` to Route Hostnames Dynamically
Why bother with a fancy Match block?
When you SSH into a fleet of servers that share a naming scheme, you usually end up copying-pasting the same options over and over. A Match block that tests the host name and then tweaks the connection parameters lets you:
- Keep a single config file that works for every member of the group.
- Automate proxying or port-translation without having to write a wrapper script.
The example below demonstrates the trick.