The known_hosts file has entries in the format of:
{server-id} {signature-algorithm} {public-key-string} {comment}
I work with the system that has many machines that share the same {public-key-string} but have many, almost 7000, different {server-ids}, I was wondering is it possible to make entries more compact?
I know I could specify all of them comma-separated like:
{server-id1},{server-id2},... {signature-algorithm} {public-key-string} {comment}
but there are almost 7000 of such {server-ids} with their IPs and aliases.
The naming schema of {server-ids} is something like:
a01b01c01d01
a01b01c01d02
...
a01b01c02d01
...
a08b11c06d12
Is some compact syntax for known_hosts available? Such as:
a[01-08]b[01-11]c[01-06]d[01-12] {signature-algorithm} {public-key-string} {comment}
Can someone tell me how to achieve this?