HPC/Network Access/PuTTY Configuration/The Carbon login nodes

From CNM Wiki
Jump to navigation Jump to search

Configuration for all users

  1. In the main PuTTY Configuration window, click Session at the top of the tree on the left.
  2. Select the Mega session and push Load. This session will be the basis for the next steps.
    HPC 2012-08 PuTTY config 2 present.png
  3. Click "+" in front of SSH in the tree.
  4. Click "SSH itself.
  5. Uncheck the checkbox Don't start a shell or command at all.
  6. Click Tunnels.
    • Select each entry and push Remove. Since we cloned the Mega session, there might be one entry with L33301. No forwarded ports should remain at this point.
    HPC 2012-08 PuTTY config 5 tunnels remove.pngHPC 2012-08 PuTTY config 6 tunnels clean.png
  7. Click X11 in the tree.
    • Click the checkbox Enable X11 forwarding.
    • Set X display location to :0
    HPC 2012-08 PuTTY config 7 X11.png
  8. Scroll to the top of the tree and click Session. Enter the host details:
    • Host name: localhost
    • Port: 33301 (referring to the tunnel set up above as L33301.)
    • Protocol: SSH (leave at the default).
    • In the Saved Sessions field, enter Clogin
    • Push Save. The entry will appear in the list of saved sessions.
    HPC 2012-08 PuTTY config 10 Save.png

To use licensed applications remotely

Begin adding tunnels

  1. In the main PuTTY Configuration window, click Session at the top of the tree on the left.
  2. Select the Clogin session and push Load.
    HPC 2012-08 PuTTY config 11 load clogin.pngHPC 2012-08 PuTTY config 12 loaded clogin.png
  3. Verify that the name "localhost" appeared in the Host Name field above.
  4. Click "+" in front of SSH in the tree.
  5. Click Tunnels.

Add tunnels for VNL

  1. Under Add new forwarded port, enter:
    • Source port: 6200
    • Destination: mgmt03:6200
    • Push Add.
    HPC 2012-08 PuTTY config 8 VNL enter.png
  2. Repeat with the following settings:
    • Source port: 6201 (not 6200!)
    • Destination: mgmt04:6200
    • Push Add.
    • You should now see these two entries:
    L6200  mgmt03:6200
    L6201  mgmt04:6200
    HPC 2012-08 PuTTY config 9 VNL done.png

Add tunnels for COMSOL

Follow steps similar to VNL shown above. Use the following port numbers and host names:

Source Port Destination
1719 mgmt03:1719
33317 mgmt03:1718
33318 mgmt04:1718
33319 sched1:1718
Because no port number is the same between VNL and COMSOL, their tunnel configurations can coexist.

Finish adding tunnels

  1. Scroll to the top of the tree and click Session.
  2. Verify that "Clogin" shows in the Saved Sessions field. If it does not, go back to section #Begin adding tunnels.
  3. Push Save.