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

Template:ProxySSH

From Wikitech-static
Jump to navigation Jump to search

Connect to proxySSH over ssh by proxying through a bastion (e.g. bast1003.wikimedia.org). As with other hosts, ensure you have ProxyCommand configured in .ssh/config (see Production shell access). Then connect as follows:

user@laptop:~$ ssh proxySSH.eqiad.wmnet

<templatedata> { "params": { "fqdn": { "label": "FQDN", "description": "The fully qualified domain name for this host.", "type": "string", "default": "[shortnode].[location].wmnet" }, "location": { "label": "Cluster", "description": "Cluster name (e.g. \"eqiad\")", "type": "string", "required": true, "suggested": true }, "short": { "label": "Short", "description": "Override short node name, defaults to pagename.", "type": "string", "default": "Current pagename." } }, "paramOrder": [ "short", "location", "fqdn" ], "format": "inline", "description": "Connectivity information for SSH." } </templatedata>

Usage

{{ProxySSH|location=eqiad}}