Jump to content

User:Razzi/ssh single letter domain shortcut

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

If you add the following to your ssh config:

Host *.e
    HostName %hqiad.wmnet

Then instead of typing

ssh puppetmaster1001.eqiad.wmnet

You can simply type

ssh puppetmaster1001.e


You can do the same with codfw and other domains of your choice:

Host *.c
    HostName %hodfw.wmnet
Host *.w
    HostName %hikimedia.org