There are two ways onto RCI's clusters: Open OnDemand in your web browser, or SSH from a terminal. Both use your NetID, your NetID password, and a Duo approval. If you're new to HPC, start with Open OnDemand; you can move to SSH whenever you like.
On this page: Addresses ยท Before you connect ยท Open OnDemand ยท SSH ยท SeaWulf login nodes ยท Log in faster ยท Troubleshooting
Where to connect
| Cluster | SSH address | Open OnDemand (browser) |
|---|---|---|
| SeaWulf General-purpose computing | milan.seawulf.stonybrook.eduor login.seawulf.stonybrook.edu (see which one) | sn-ood.seawulf.stonybrook.edu |
| NVwulf GPU computing for AI and ML | login.nvwulf.stonybrook.edu | nvwulf-ood.nvwulf.stonybrook.edu |
| ClinWulf HIPAA-compliant computing on PHI | login02.uhmc.sbuh.stonybrook.edu | clinwulf-ood.uhmc.sbuh.stonybrook.edu |
Not sure which cluster fits your work? Try the cluster picker.
Before you connect
- An account on the cluster. See Requesting accounts & project numbers for SeaWulf and Getting access to NVwulf for NVwulf. ClinWulf is for IRB-approved studies in Health Sciences / Medicine working with PHI.
- Duo two-factor authentication. Every login needs a Duo approval, so enroll a device first. See Duo authentication.
- Your NetID and NetID password. Type your NetID in lowercase.
Option 1: Open OnDemand in your browser
Open OnDemand gives you files, a job composer, a shell, and apps like Jupyter, RStudio, MATLAB, and a full desktop, all in the browser. Nothing to install.
- Open the OnDemand address for your cluster from the table above.
- Sign in with your NetID and NetID password.
- Approve the Duo request on your phone.
- You're in. The OnDemand overview shows what everything does.
Option 2: SSH from a terminal
macOS and Linux
- Open Terminal.
- Connect to your cluster's SSH address, for example SeaWulf:
ssh <netid>@milan.seawulf.stonybrook.edu
- The first time, you'll be asked whether to trust the server's key. Type
yes. - Enter your NetID password (nothing shows as you type), then approve the Duo push.
Graphical programs: add -X, as in ssh -X <netid>@milan.seawulf.stonybrook.edu. On a Mac, install XQuartz first. See X11 forwarding.
Windows
MobaXterm (recommended). The free Home Edition includes a terminal, a file browser, and a built-in X server, so graphical programs work without extra setup.
- Install MobaXterm Home Edition and open it.
- Click Session, then SSH.
- For Remote host, enter your cluster's SSH address. Tick Specify username and enter your NetID.
- Click OK, enter your NetID password, and approve the Duo push. The session is saved in the left panel for next time.
Built-in Windows terminal. Windows 10 and 11 include SSH. Open Windows Terminal or PowerShell and use the same command as macOS and Linux:
ssh <netid>@milan.seawulf.stonybrook.edu
PuTTY also works if you already use it.
Which SeaWulf login node?
SeaWulf has more than one set of login nodes, and each reaches different compute nodes. Pick the one that matches the queues you'll use. Your files are the same on all of them.
| Address | Login nodes | Reaches these compute nodes |
|---|---|---|
milan.seawulf.stonybrook.edu | milan1, milan2 | 40-core Skylake, 96-core AMD EPYC Milan, Sapphire Rapids. The best choice for most work. |
xeonmax.seawulf.stonybrook.edu | xeonmax | Sapphire Rapids and high-bandwidth memory (HBM) nodes |
login.seawulf.stonybrook.edu | login1, login2 | 28-core Intel Haswell nodes and the older GPU nodes |
The queue selection guide lists every queue and where to submit it from.
They also run different operating systems. The milan login nodes run Rocky Linux 9, while login1 and login2 run the older CentOS 7. Build software on the login node that matches the queues you'll run it on, since a program compiled on one may not run on the other. For example, Intel oneAPI 2024.2 doesn't work on login1 and login2, so use intel/oneAPI/2022.2 there.
Log in faster
Short names with an SSH config file
On macOS, Linux, or the Windows terminal, save your usual settings in ~/.ssh/config (create the file if it doesn't exist):
Host seawulf
HostName milan.seawulf.stonybrook.edu
User <netid>
ForwardX11 yes
Host nvwulf
HostName login.nvwulf.stonybrook.edu
User <netid>
Then connect with just ssh seawulf or ssh nvwulf. The same names work with scp and rsync.
Fewer Duo prompts
- Pick your Duo method ahead of time with the
DUO_PASSCODEsetting, for example always send a push. This also helps file-transfer tools. See Duo authentication. - Use the Stony Brook VPN. You approve Duo once when the VPN connects, and later logins through the VPN don't ask again.
- Set up an SSH key so you don't type your password each time. See Passwordless SSH.
Troubleshooting
"Connection reset by peer" or the connection closes right away
Your IP address has probably been blocked after too many failed logins, usually from a mistyped password. Open a ticket and ask for it to be unblocked, including your public IP address. You can find it by searching "what is my IP" or running:
curl ifconfig.me
Setting up passwordless SSH avoids password typos in future.
"Your account has been locked out due to excessive authentication failures"
This happens after 10 Duo requests in a row go unanswered. You'll get an email asking you to confirm the lockout; reply to it and the Computer Accounts Office will unlock your account. Then find the cause: either your phone isn't receiving Duo pushes (send a test from the Duo Mobile app, or check the Duo self-service portal), or a program or script is triggering many logins. For scripts and file-transfer tools, connect through the VPN so they don't each need Duo.
The Duo push never arrives
Open Duo Mobile and check that your Stony Brook account is there and can receive a test push. As a fallback, choose a phone call or a passcode instead of a push, or set DUO_PASSCODE (see Duo authentication). For Duo enrollment problems, contact DoIT through the DoIT service portal.
My password isn't accepted, or I forgot it
The clusters use your NetID password, so type your NetID in lowercase and check Caps Lock. To reset it, change your NetID password through DoIT's NetID service. The new password applies everywhere you use your NetID, including email and Wi-Fi.
"Could not resolve hostname" or the connection times out
Check the spelling of the address against the table above. If it still can't connect, try again on the campus network or the VPN, and check the system status page for maintenance.
Graphical programs won't open
Connect with ssh -X. On a Mac, install XQuartz and log out and back in. On Windows, use MobaXterm, which has an X server built in. For heavier graphical work, a desktop session in Open OnDemand is usually smoother.
My jobs can't find the queue I want
You're probably on a login node that doesn't reach that queue. Log in to the address listed for it in Which SeaWulf login node?, or check the queue selection guide.
Still stuck?
Open a ticket with HPC support and include the cluster, the address you used, your operating system, and the exact error message. For problems specific to your account, support may ask you to start a remote-assistance session so they can look from your login. Only do this when support asks, using the ticket number they give you:
module load remote-assistance request-support -t <ticket-number>
Cancel it at any time with request-support --cancel.
Related
- Get started with HPC: the whole path from account to first job
- Quick Start Guide: your first SLURM job
- File transfer from the CLI and Globus file transfer
- Getting started on NVwulf