Right now my .ssh/config
has a lot of entries like this:
Host a
Hostname foo01.bar.quuux.zot.d.t.s.cc
User sds
ProxyCommand ssh -A -l sds XXX.XXX.XXX.XXX nc %h %p
Host b
Hostname goooo013.zoo.bar.quuux.zot.d.t.s.cc
User sds
ProxyCommand ssh -A -l sds XXX.XXX.XXX.XXX nc %h %p
i.e., the only difference between entries is the Host
alias and the first part of the Hostname
.
I wonder if it is possible to avoid this boring duplication.