You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

User:Razzi/ssh single letter domain shortcut

From Wikitech-static
< User:Razzi
Revision as of 15:59, 21 September 2021 by imported>Razzi (Created page with "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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
    HostName %hikimedia.org