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.
    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.
  3. Click Data in the tree. In the Login details section of the panel enter your username.
    • Auto-login username: username
  4. Click SSH in the tree
  5. Click the checkbox Don't start a shell or command at all in the Protocol options section.
  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.
  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.