HPC/Network Access/PuTTY Configuration: Difference between revisions
< HPC | Network Access
Jump to navigation
Jump to search
m (→Configuration) |
|||
Line 11: | Line 11: | ||
== Configuration == | == Configuration == | ||
[[HPC/Network Access/PuTTY Configuration/The SSH Gateway]] | |||
=== Configure second session === | === Configure second session === |
Revision as of 05:38, August 29, 2012
Introduction
The Carbon cluster is reachable from networks outside Argonne only through SSH tunneling or VPN. Either way has advantages and disadvantages. This page explains how to connect through an ssh tunnel.
Tunneling is a two-step process:
- Establish the tunnel.
- Connect through the tunnel.
Overview slides (pdf) and specifics for Carbon are detailed elsewhere. The PuTTY setup for both steps is illustrated below.
Note that the PuTTY Configuration panel is somewhat idiosyncratic to operate, notably regarding the concept of Sessions. Numerous screenshots on Google provide general guidance.
Configuration
HPC/Network Access/PuTTY Configuration/The SSH Gateway
Configure second session
- In the PuTTY Configuration window, click Session at the top of the tree on the left.
- Select the Mega session and push Load. This session will be the basis for the next steps.
- Click SSH in the tree
- Uncheck the checkbox Don't start a shell or command at all.
- Click X11 in the tree.
- Click the checkbox Enable X11 forwarding.
- Set X display location to :0
- Click Tunnels.
- Select the L33301 entry and push Remove. There should be no forwarded ports listed.
- Under Add new forwarded port, enter:
- Source port: 6200
- Destination: mgmt03:6200
- Push the Add button.
- Repeat with the following settings:
- Source port: 6201 (not 6200!)
- Destination: mgmt04:6200
- Push the Add button.
- Repeat once more as follows:
- Source port: 6202
- Destination: sched1:6200
- Push the Add button.
- You should see tree entries:
- L6200 mgmt03:6200
- L6201 mgmt04:6200
- L6202 sched1:6200
- Scroll to the top of the tree and click Session. Enter the host details:
- Host name: localhost
- Port: 33301 (referring to the tunnel set up above as L33301.)
- Protocol: SSH (leave at the default).
- In the Saved Sessions field, enter Clogin
- Push Save. The entry will appear in the list of saved sessions.
Connecting to Mega
- In the PuTTY Configuration window, click Session at the top of the tree on the left.
- Select the session named Mega and push Load.
- Make sure the Host Name field shows mega.cnm.anl.gov.
- Push Open.
- When prompted, enter your Argonne account password. When accepted, the cursor will wait at the next line and nothing further will happen.
- Minimize the window.
Connecting to Carbon itself
- Open another PuTTY window.
- Select the session named Clogin and push Load.
- Make sure the Host Name field shows localhost.
- Push Open.
- Welcome to Carbon! - You should get our NOTICE TO USERS and a prompt saying login5 or login6 followed by /home/username.