How to login to the cluster

Requirements

A user account and a duo authenticator is required to access the Pomona College HPC cluster.

Web base acces

If the program you are trying to run has a user interface, login using your web browser at OnDemand

SSH

Mac

  1. Open the terminal application.
  2. type in ssh your_username@sagehen.hpc.pomona.edu and then press Enter.
  3. Type in your password and press Enter. Note that when typing the password the cursor willnot move and nothing is printed to the screen.
  4. Follow the on screen prompt to authenticate using DUO.

Window

  1. Open the cmd program by clicking start, and typing cmd.
  2. type in ssh your_username@sagehen.hpc.pomona.edu and then press Enter.
  3. Type in your password and press Enter.
    Note that when typing the password the cursor will not move and nothing is printed to the screen.
  4. Follow the on screen prompt to authenticate using DUO.

It is recommended to use MobaXterm which can be downloaded at MobaXterm

VSCode

It is recommended method since this provides an interface to edit, download, and upload files.

The program can be downloaded at https://code.visualstudio.com/ and works on both Mac and Window.

  1. Open VSCode program.
  2. Click on FilePreferencesSettings, in the search bar type in remote.SSH.showLoginTerminal, then check box the Always reveal the SSH login terminal.
  3. Click on the Extension icon Extension on the left side.
  4. In the search bar, type in ms-vscode-remote.remote-ssh, select the first one and click Install.
  5. Click on Remote Explorer icon Remote Explorer on the left side.
  6. Click on the + symbol on the new bar that pops up.
  7. Then on the box type in ssh your_username@sagehen.hpc.pomona.edu and press Enter.
  8. When it ask to update a file, select the first one on the list.
  9. Hover over the sagehen.hpc.pomona.edu under SSH TARGETS and click on the folder with a plus sign.
  10. Open the popup, click on Linux, then click Continue.
  11. Type in your password and press Enter. You will also get a popup about Duo, follow the on screen prompt to authenticate to it.
  12. Click on Explorer icon Explorer on the left side. Then Click on Open Folder, type in /rhome/your_username and click OK.
  13. It will then ask your password again, and do DUO authentication.
  14. There will be a popup, click Yes, I Trust the authors.
Opening a linux terminal
  1. Follow the step to setup VSCode and connect to the HPC.
  2. Then click on Terminal → New Terminal
  3. A new window will popup on the bottom of your vscode.