Re:Show HN: My SSH server knows who you are
by ars on Tuesday August 04, 2015 @02:41PM
(#10005354)
Is there a way to set that in bulk so all hosts in your config send identities, but those not specified don't, without putting IdentityFile for every one?
[ Parent
| on HN ]
Re:Show HN: My SSH server knows who you are
by azernik on Tuesday August 04, 2015 @04:09PM
(#10005934)
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.