I'm trying to standardize my server aliases across projects by linking together ssh config files that I can keep under version control.
I'd like to be able to just define machine aliases along with IP addresses and ssh keys all in one place (the ssh configs). This works nicely with ssh based utils like /bin/ssh and (I believe) scp. You even get tab completion.
However, if I set the aliases in my ssh config then the aliases aren't available to ping and other vanilla network utils. I don't want to have to keep my /etc/hosts synchronized with my ssh config files.
Is there a way to either
a) get ssh aliases to automatically work as if they were in /etc/hosts. or b) find a suite of network utils that uses the active ssh config as a source of aliases.