About this task
Set up secure shell (SSH) tunneling to access the Data Hub Service (DHS) endpoints from your local environment. In this task, you will use PuTTY with Windows to set up SSH tunneling between your browsers and DHS.
Set up secure shell (SSH) tunneling to access the Data Hub Service (DHS) endpoints from your local environment. In this task, you will use PuTTY with Windows to set up SSH tunneling between your browsers and DHS.
Procedure
1. Locate the certificate file for your client-side bastion host. Convert your certificate file into into a public-private key pair that PuTTY understands.
Note: A typical choice is PuTTYgen.exe.
Note: A typical choice is PuTTYgen.exe.
2. To set up SSH tunneling, download and launch PuTTY.exe.
Note: Use the left pane, titled Category, to show configuration options for each selected category.
3. Select Session from the left pane.
In the Basic options for your PuTTY session page, supply one of the following bastion host labels for Host Name:
4. Select Connection > Data from the left pane.
8000 <ICAlb>:8000
8002 <ICAlb>:8002
8010 <ICAlb>:8010
8011 <ICAlb>:8011
8013 <ICAlb>:8013
7. Select Session from the left pane.
Results
Important: Developers with an existing installation of MarkLogic will notice the potential conflict with use of port 8002. To avoid the conflict, use another port number for the tunnel or change the "Manage" port in your local MarkLogic installation.
Note: Use the left pane, titled Category, to show configuration options for each selected category.
3. Select Session from the left pane.
In the Basic options for your PuTTY session page, supply one of the following bastion host labels for Host Name:
- IP address
- Host name/Fully Qualified Domain Name (FQDN)
4. Select Connection > Data from the left pane.
- In the Data to send to the server page, specify "ec2-user" for Auto-login username.
- In the Options controlling SSH authentication page, click BROWSE to open your private key generated in step 1.
- In the Options controlling SSH port forwarding page, enter the following source port/destination pairs:
8000 <ICAlb>:8000
8002 <ICAlb>:8002
8010 <ICAlb>:8010
8011 <ICAlb>:8011
8013 <ICAlb>:8013
7. Select Session from the left pane.
- In the Basic options for your PuTTY session page, supply a NAME for Saved Sessions and click SAVE.
Results
Important: Developers with an existing installation of MarkLogic will notice the potential conflict with use of port 8002. To avoid the conflict, use another port number for the tunnel or change the "Manage" port in your local MarkLogic installation.
#viastudy
0 Comments