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 reach 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. In the Login details section of the panel enter your username.
    • Auto-login username: username
    HPC 2012-08 PuTTY config 3 username.png
  4. Click SSH in the tree
  5. 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
  6. Click the "+" symbol near SSH to open its sub-tree.
  7. 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
  8. 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