4 ms·
You can create a host block that matches multiple hosts: IdentitiesOnly yes Host first second third fourth IdentitiesOnly no If you then want
by azernik 11y ago
You can create a host block that matches multiple hosts:
IdentitiesOnly yes
Host first second third fourth
IdentitiesOnly no
If you then wanted to have per-host configs you'd have to create more host blocks, but at least this way the added overhead of "IdentitesOnly yes" doesn't grow too fast with the number of hosts involved.
- jlgaddis 11y agoUntested but you should also be able to use "Match" directives as well, assuming there's something in common you can match on, e.g.: Match Host *.example.com, 192.0.2.* IdentitiesOnly no