HPC/Network Access/PuTTY Configuration/The SSH Gateway

From CNM Wiki
Jump to navigation Jump to search
  1. Open PuTTY. The PuTTY Configuration window will appear.
    HPC 2012-08 PuTTY config 1 new.png
    There are many configuration panels that will appear in the main part of the window on the right-hand side. The panels are organized as a tree, shown in the left-hand side of the window. Each panel can be reached by clicking on the leaf names of the tree.
  2. If you already have a session named Mega shown in the bottom right list of the main panel, push the Load button.
    HPC 2012-08 PuTTY config 2 present.png
  3. Click Data in the tree.
  4. Enter your Argonne username in the Auto-login username field within the Login details section of the panel.
    HPC 2012-08 PuTTY config 3 username.png
  5. Click SSH in the tree.
  6. Click the checkbox Don't start a shell or command at all in the Protocol options section.
    HPC 2012-08 PuTTY config 4a command.png
  7. Click the "+" symbol near SSH to open its sub-tree.
  8. Click Tunnels. Under Add new forwarded port, enter:
    • Source port: 33301
    • Destination: clogin:22
    • Push the Add button. A new entry will appear in the middle field, shown as:
      L33301 clogin:22
      The letter "L" denotes a port on the local host.
    HPC 2012-08 PuTTY config 4 tunnels new.pngHPC 2012-08 PuTTY config 5 tunnels mega.png
  9. Updated 2013-02-05: To reach specific login nodes, repeat the previous step with these settings:
    • Source port: 33305
    • Destination: clogin5:22
    and
    • Source port: 33306
    • Destination: clogin6:22
  10. Scroll to the top of the tree and click Session. Enter the host details:
    • Host name: mega.cnm.anl.gov
    • Port: 22 (leave at the default).
    • Protocol: SSH (leave at the default).
    • In the Saved Sessions field, enter Mega
    • Push Save. The entry will appear in the list of saved sessions.
    HPC 2012-08 PuTTY config 6 Save.png