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
- Open the
terminalapplication. - type in
ssh your_username@sagehen.hpc.pomona.eduand then press Enter. - Type in your password and press Enter. Note that when typing the password the cursor willnot move and nothing is printed to the screen.
- Follow the on screen prompt to authenticate using DUO.
Window
- Open the
cmdprogram by clicking start, and typingcmd. - type in
ssh your_username@sagehen.hpc.pomona.eduand then press Enter. - 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. - 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.
- Open
VSCodeprogram. - Click on
File→Preferences→Settings, in the search bar type inremote.SSH.showLoginTerminal, then check box theAlways reveal the SSH login terminal. - Click on the
Extensioniconon the left side.
- In the search bar, type in
ms-vscode-remote.remote-ssh, select the first one and clickInstall. - Click on
Remote Explorericonon the left side.
- Click on the
+symbol on the new bar that pops up. - Then on the box type in
ssh your_username@sagehen.hpc.pomona.eduand press Enter. - When it ask to update a file, select the first one on the list.
- Hover over the
sagehen.hpc.pomona.eduunderSSH TARGETSand click on the folder with a plus sign. - Open the popup, click on
Linux, then clickContinue. - Type in your password and press Enter. You will also get a popup about Duo, follow the on screen prompt to authenticate to it.
- Click on
Explorericonon the left side. Then Click on
Open Folder, type in/rhome/your_usernameand clickOK. - It will then ask your password again, and do DUO authentication.
- There will be a popup, click
Yes, I Trust the authors.
Opening a linux terminal
- Follow the step to setup VSCode and connect to the HPC.
- Then click on Terminal → New Terminal
- A new window will popup on the bottom of your vscode.