HPC/Network Access/PuTTY Configuration: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
Line 12: Line 12:
== Configuration ==
== Configuration ==
[[HPC/Network Access/PuTTY Configuration/The SSH Gateway]]
[[HPC/Network Access/PuTTY Configuration/The SSH Gateway]]
 
[[HPC/Network Access/PuTTY Configuration/The Carbon login node]]
=== 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'''
#: [[Image:HPC 2012-08 PuTTY config 7 X11.png]]
# 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
#: [[Image:HPC 2012-08 PuTTY config 8 VNL enter.png]][[Image:HPC 2012-08 PuTTY config 9 VNL done.png]]
# 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.
#: [[Image:HPC 2012-08 PuTTY config 10 Save.png]]


== Connecting to Mega ==
== Connecting to Mega ==

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:

  1. Establish the tunnel.
  2. 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 HPC/Network Access/PuTTY Configuration/The Carbon login node

Connecting to Mega

  1. In the PuTTY Configuration window, click Session at the top of the tree on the left.
  2. Select the session named Mega and push Load.
  3. Make sure the Host Name field shows mega.cnm.anl.gov.
  4. Push Open.
    HPC 2012-08 PuTTY config 11 Load mega.png
  5. When prompted, enter your Argonne account password. When accepted, the cursor will wait at the next line and nothing further will happen.
    HPC 2012-08 PuTTY config 12 Open mega.png
  6. Minimize the window.

Connecting to Carbon itself

  1. Open another PuTTY window.
  2. Select the session named Clogin and push Load.
  3. Make sure the Host Name field shows localhost.
    File:HPC 2012-08 PuTTY config 13 Load clogin.png
  4. Push Open.
  5. Welcome to Carbon! - You should get our NOTICE TO USERS and a prompt saying login5 or login6 followed by /home/username.

Setup for step 2

Putty-session-clogin.png