Skip to content

Commit b69c10f

Browse files
authored
Merge pull request #111311 from dagiro/freshness49
freshness49
2 parents f67e943 + f668e59 commit b69c10f

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

articles/hdinsight/hdinsight-linux-ambari-ssh-tunnel.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ author: hrasheed-msft
55
ms.author: hrasheed
66
ms.reviewer: jasonh
77
ms.service: hdinsight
8-
ms.custom: hdinsightactive
98
ms.topic: conceptual
10-
ms.date: 10/28/2019
9+
ms.custom: hdinsightactive
10+
ms.date: 04/14/2020
1111
---
1212

1313
# Use SSH tunneling to access Apache Ambari web UI, JobHistory, NameNode, Apache Oozie, and other UIs
1414

15-
HDInsight clusters provide access to the Apache Ambari web UI over the Internet, but some features require an SSH tunnel. For example, the web UI for the Apache Oozie service can't be accessed over the internet without an SSh tunnel.
15+
HDInsight clusters provide access to the Apache Ambari web UI over the Internet. Some features require an SSH tunnel. For example, the Apache Oozie web UI can't be accessed over the internet without an SSH tunnel.
1616

1717
## Why use an SSH tunnel
1818

@@ -26,7 +26,7 @@ The following Web UIs require an SSH tunnel:
2626
* Oozie web UI
2727
* HBase Master and Logs UI
2828

29-
If you use Script Actions to customize your cluster, any services or utilities that you install that expose a web service require an SSH tunnel. For example, if you install Hue using a Script Action, you must use an SSH tunnel to access the Hue web UI.
29+
Services installed with Script Actions that expose a web service will require an SSH tunnel. Hue installed with Script Action requires an SSH tunnel to access the web UI.
3030

3131
> [!IMPORTANT]
3232
> If you have direct access to HDInsight through a virtual network, you do not need to use SSH tunnels. For an example of directly accessing HDInsight through a virtual network, see the [Connect HDInsight to your on-premises network](connect-on-premises-network.md) document.
@@ -59,14 +59,16 @@ ssh -C2qTnNf -D 9876 [email protected]
5959

6060
This command creates a connection that routes traffic to local port 9876 to the cluster over SSH. The options are:
6161

62-
* **D 9876** - The local port that routes traffic through the tunnel.
63-
* **C** - Compress all data, because web traffic is mostly text.
64-
* **2** - Force SSH to try protocol version 2 only.
65-
* **q** - Quiet mode.
66-
* **T** - Disable pseudo-tty allocation, since you're just forwarding a port.
67-
* **n** - Prevent reading of STDIN, since you're just forwarding a port.
68-
* **N** - Do not execute a remote command, since you're just forwarding a port.
69-
* **f** - Run in the background.
62+
|Option |Description |
63+
|---|---|
64+
|D 9876|The local port that routes traffic through the tunnel.|
65+
|C|Compress all data, because web traffic is mostly text.|
66+
|2|Force SSH to try protocol version 2 only.|
67+
|q|Quiet mode.|
68+
|T|Disable pseudo-tty allocation, since you're just forwarding a port.|
69+
|n|Prevent reading of STDIN, since you're just forwarding a port.|
70+
|N|Do not execute a remote command, since you're just forwarding a port.|
71+
|f|Run in the background.|
7072

7173
Once the command finishes, traffic sent to port 9876 on the local computer is routed to the cluster head node.
7274

0 commit comments

Comments
 (0)