You are browsing a read-only backup copy of Wikitech. The primary site can be found at

User:Razzi/ssh single letter domain shortcut

From Wikitech-static
Jump to navigation Jump to search

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