HPC/Network Access/PuTTY Configuration

From CNM Wiki
Jump to navigation Jump to search

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