HPC/Network Access/PuTTY Configuration/The SSH Gateway: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 18: Line 18:
#*: The letter "L" denotes a port on the local host.
#*: The letter "L" denotes a port on the local host.
#: [[Image:HPC 2012-08 PuTTY config 4 tunnels new.png]][[Image:HPC 2012-08 PuTTY config 5 tunnels mega.png]]
#: [[Image:HPC 2012-08 PuTTY config 4 tunnels new.png]][[Image:HPC 2012-08 PuTTY config 5 tunnels mega.png]]
# '''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'''
# Scroll to the top of the tree and click Session. Enter the host details:
# Scroll to the top of the tree and click Session. Enter the host details:
#* Host name: '''mega.cnm.anl.gov'''
#* Host name: '''mega.cnm.anl.gov'''

Revision as of 22:44, February 5, 2013

  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.
  4. Enter your Argonne username in the Auto-login username field within the Login details section of the panel.
  5. Click SSH in the tree.
  6. Click the checkbox Don't start a shell or command at all in the Protocol options section.
  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.
  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.