I have a bunch of machines under one domain that I frequently connect to;
apollo.my.university.edu
hades.my.university.edu
zeus.my.university.edu
and I use the same configuration settings for each of them. Instead of typing them all out in my .ssh/config
,
Host apollo
Hostname apollo.my.university.edu
Host hades
Hostname hades.my.university.edu
Host zeus
Hostname zeus.my.university.edu
is there a makefile-esque way to use the alias to complete the hostname for all of them simultaneously? Something like
Host apollo hades zeus
Hostname *.my.university.edu